{"id":"CVE-2026-6146","state":"PUBLISHED","title":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys","description":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys.\n\nAmazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object.\n\nBefore version 1.3.0, the secrets were encrypted using a 64-bit key that was generated using the built-in rand function, which is predictable and unsuitable for cryptography.","publishedAt":"2026-05-11T19:12:17.630Z","updatedAt":"2026-05-13T13:00:09.543Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["BIGFOOT Amazon::Credentials"],"affected":[{"vendor":"BIGFOOT","product":"Amazon::Credentials","packageName":"Amazon-Credentials","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.2.0","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Amazon/Credentials.pm"],"programRoutines":[{"name":"Amazon::Credentials::create_passkey"}],"repo":"https://github.com/rlauer6/Amazon-Credentials"}],"references":["https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.2.0/source/lib/Amazon/Credentials.pm#L1415-1418","https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.3.0/changes","http://www.openwall.com/lists/oss-security/2026/05/11/15"],"weaknesses":["CWE-338"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6146.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6146","state":"PUBLISHED","datePublished":"2026-05-11T19:12:17.630Z","dateUpdated":"2026-05-13T13:00:09.543Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-04-12T17:24:50.568Z"},"containers":{"cna":{"title":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys","descriptions":[{"lang":"en","value":"Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys.\n\nAmazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object.\n\nBefore version 1.3.0, the secrets were encrypted using a 64-bit key that was generated using the built-in rand function, which is predictable and unsuitable for cryptography."}],"affected":[{"vendor":"BIGFOOT","product":"Amazon::Credentials","packageName":"Amazon-Credentials","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.2.0","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Amazon/Credentials.pm"],"programRoutines":[{"name":"Amazon::Credentials::create_passkey"}],"repo":"https://github.com/rlauer6/Amazon-Credentials"}],"references":[{"url":"https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.2.0/source/lib/Amazon/Credentials.pm#L1415-1418"},{"url":"https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.3.0/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"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-05-11T19:12:17.630Z"},"solutions":[{"lang":"en","value":"Upgrade to version 1.3.0 or later."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/05/11/15"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-05-11T21:29:37.446Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.3,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/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":"2026-05-13T12:59:35.540086Z","id":"CVE-2026-6146","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":"2026-05-13T13:00:09.543Z"}}]}}}