CPANSA-Amazon-Credentials-2026-6146: Amazon-Credentials vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-05-11T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-05-11T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | 5.3 | Severity | |
| Original language | Language | en | |
| Also referred to | |||
Vulnerability Description
Amazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys. Amazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object. Before 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.
Vulnerabilities
CVE-2026-6146
Vulnerability DescriptionAmazon::Credentials versions through 1.2.0 for Perl uses rand to generate encryption keys.
Amazon::Credentials stores credentials in an obfuscated form to prevent access to the secrets from a data dump of the object.
Before 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.
| Weakness | CWE-338 : Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
|---|
Product status
Known affected
| Product | Score | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Amazon-Credentials less than 1.3.0 |
|
Fixed
- Amazon-Credentials greater than or equal 1.3.0
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Amazon-Credentials-2026-6146 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-amazon-credentials-2026-6146.json - https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.2.0/source/lib/Amazon/Credentials.pm#L1415-1418 external
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 external
https://metacpan.org/release/BIGFOOT/Amazon-Credentials-1.3.0/changes - http://www.openwall.com/lists/oss-security/2026/05/11/15 external
http://www.openwall.com/lists/oss-security/2026/05/11/15 - CVE-2026-6146 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2026-6146
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Mon May 11 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/