{"id":"CVE-2024-57835","summary":"Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions","details":"Amon2::Auth::Site::LINE uses the String::Random module to generate nonce values. \n\nString::Random defaults to Perl's built-in predictable random number generator, the rand() function, which is not cryptographically secure","modified":"2026-07-08T06:53:10.818553554Z","published":"2025-04-05T16:11:11.314Z","database_specific":{"cna_assigner":"CPANSec","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57835.json","cwe_ids":["CWE-338"]},"references":[{"type":"WEB","url":"https://cpan.org/modules"},{"type":"WEB","url":"https://metacpan.org/release/SHLOMIF/String-Random-0.32/source/lib/String/Random.pm#L377"},{"type":"WEB","url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L235"},{"type":"WEB","url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L255"},{"type":"WEB","url":"https://security.metacpan.org/docs/guides/random-data-for-security.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57835.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57835"},{"type":"PACKAGE","url":"https://github.com/nipotan/p5-Amon2-Auth-Site-LINE"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nipotan/p5-amon2-auth-site-line","events":[{"introduced":"0"},{"fixed":"cb3ac40942b86dc10e4a798c1548a57394a581c0"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:nipotan:line_integration_for_amon2:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.04"},{"fixed":"0.04"}]}}],"versions":["0.03","0.02","0.01"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-57835.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"}]}