{"id":"CVE-2025-27552","state":"PUBLISHED","title":"DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm","description":"DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt password hashes.\n\nThis vulnerability is associated with program files Crypt/Eksblowfish/Bcrypt.pm.\n\nThis issue affects DBIx::Class::EncodedColumn until 0.00032.","publishedAt":"2025-03-26T11:08:11.434Z","updatedAt":"2025-09-05T13:21:10.093Z","severity":{"score":4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["WREIS DBIx::Class::EncodedColumn"],"affected":[{"vendor":"WREIS","product":"DBIx::Class::EncodedColumn","packageName":"DBIx-Class-EncodedColumn","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.00032","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBIx/Class/EncodedColumn/Crypt/Eksblowfish/Bcrypt.pm"],"repo":"https://github.com/wreis/DBIx-Class-EncodedColumn"}],"references":["https://security.metacpan.org/docs/guides/random-data-for-security.html","https://metacpan.org/release/WREIS/DBIx-Class-EncodedColumn-0.00032/changes"],"weaknesses":["CWE-338","CWE-916","CWE-331"],"ingestedAt":"2026-10-29T20:08:47.682Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/27xxx/CVE-2025-27552.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-27552","state":"PUBLISHED","datePublished":"2025-03-26T11:08:11.434Z","dateUpdated":"2025-09-05T13:21:10.093Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-02-28T20:33:23.575Z"},"containers":{"cna":{"title":"DBIx::Class::EncodedColumn until 0.00032 for Perl uses insecure rand() function for salting password hashes in Crypt/Eksblowfish/Bcrypt.pm","descriptions":[{"lang":"en","value":"DBIx::Class::EncodedColumn use the rand() function, which is not cryptographically secure to salt password hashes.\n\nThis vulnerability is associated with program files Crypt/Eksblowfish/Bcrypt.pm.\n\nThis issue affects DBIx::Class::EncodedColumn until 0.00032."}],"affected":[{"vendor":"WREIS","product":"DBIx::Class::EncodedColumn","packageName":"DBIx-Class-EncodedColumn","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.00032","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/DBIx/Class/EncodedColumn/Crypt/Eksblowfish/Bcrypt.pm"],"repo":"https://github.com/wreis/DBIx-Class-EncodedColumn"}],"references":[{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related"]},{"url":"https://metacpan.org/release/WREIS/DBIx-Class-EncodedColumn-0.00032/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-916","description":"CWE-916 Use of Password Hash With Insufficient Computational Effort","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-331","description":"CWE-331 Insufficient Entropy","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2025-09-05T13:21:10.093Z"},"credits":[{"lang":"en","type":"finder","value":"Robert Rothenberg"}],"source":{"discovery":"INTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":4,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-03-26T19:12:59.308361Z","id":"CVE-2025-27552","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-26T19:13:10.116Z"}}]}}}