{"id":"CVE-2024-57835","published":"2025-04-05T16:11:11Z","modified":"2025-04-07T18:27:55Z","title":"Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions","vendor":"TANIGUCHI","product":"Amon2::Auth::Site::LINE","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00538,"percentile":0.38781,"provenance":"source"},"cwes":[{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://metacpan.org/release/SHLOMIF/String-Random-0.32/source/lib/String/Random.pm#L377","tags":["related"]},{"url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L235","tags":["related"]},{"url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L255","tags":["related"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related"]}],"priority":{"score":11.6,"factors":[{"name":"EPSS percentile","points":7.76},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"taniguchi","affectedVersions":[{"vendor":"TANIGUCHI","product":"Amon2::Auth::Site::LINE","versions":["<= 0.04"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-07T14:33:42.859939Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-54367","exploited":false,"provenance":"source"}}