{"id":"CVE-2024-57835","aliases":["EUVD-2024-54367","GHSA-ch4m-2996-7xpv"],"status":"published","title":"Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions","description":"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","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00292,"percentile":0.22016,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-338"],"published":"2025-04-05T16:11:11Z","modified":"2026-10-28T02:30:55Z","products":[{"vendor":"nipotan","product":"line_integration_for_amon2"},{"vendor":"taniguchi","product":"amon2::auth::site::line"}],"references":[{"url":"https://metacpan.org/release/SHLOMIF/String-Random-0.32/source/lib/String/Random.pm#L377","tags":["related","Product","web"]},{"url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L235","tags":["related","Product","web"]},{"url":"https://metacpan.org/release/TANIGUCHI/Amon2-Auth-Site-LINE-0.04/source/lib/Amon2/Auth/Site/LINE.pm#L255","tags":["related","Product","web"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["related","Technical Description","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-57835","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-ch4m-2996-7xpv"},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/57xxx/CVE-2024-57835.json","tags":["advisory"]},{"url":"https://github.com/nipotan/p5-Amon2-Auth-Site-LINE","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-57835","title":"Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions","description":"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","status":"published","published":"2025-04-05T16:11:11.314Z","modified":"2025-04-07T18:27:55.093Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:34:07.152829Z"}],"euvd":[{"id":"EUVD-2024-54367","description":"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","status":"published","published":"2025-04-05T16:11:11Z","modified":"2025-04-07T18:27:55Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:52:41.16494Z"}],"ghsa":[{"id":"GHSA-ch4m-2996-7xpv","title":"Amon2::Auth::Site::LINE uses the String::Random module to generate nonce values. \n\nString::Random...","description":"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","status":"published","published":"2025-04-07T15:31:10Z","modified":"2025-04-07T21:32:07Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:00:50.013262Z"}],"nvd":[{"id":"CVE-2024-57835","description":"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","status":"published","published":"2025-04-05T16:15:32.143Z","modified":"2026-06-17T08:14:05.457Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T14:10:46.40251Z"}],"osv":[{"id":"CVE-2024-57835","title":"Amon2::Auth::Site::LINE versions through 0.04 for Perl uses insecure rand() function for cryptographic functions","description":"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","status":"published","published":"2025-04-05T16:11:11.314Z","modified":"2026-10-28T02:30:55.183122128Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-338"],"updated_at":"2026-11-02T15:44:45.107804Z"}]}}
