{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-57868","published":"2025-04-05T16:15:33.180000Z","last_modified":"2026-06-17T08:14:06.990000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":true,"cwes":["CWE-331","CWE-338"],"cpes":[{"criteria":"cpe:2.3:a:lev:web\\:\\:api:*:*:*:*:*:perl:*:*","part":"a","vendor":"lev","product":"web::api","version_end_including":"2.8"}],"cpes_truncated":false,"vendors":["lev"],"products":["lev/web-api"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00538,"percentile":0.38826,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2024-57868/","html_en":"/en/cve/CVE-2024-57868/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-57868","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-57868"},"untrusted":{"vendor_name":"Lev","product_name":"Web::api","desc_en":"Web::API 2.8 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\n\nSpecifically Web::API uses the Data::Random library which specifically states that it is \"Useful mostly for test programs\". Data::Random uses the rand() function.","affected":[{"untrusted_vendor":"LEV","untrusted_product":"Web::API","versions":[]}],"references":[{"url":"https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L20","tags":["Product"]},{"url":"https://metacpan.org/dist/Web-API/source/lib/Web/API.pm#L348","tags":["Product"]},{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":["Product"]},{"url":"https://perldoc.perl.org/functions/rand","tags":["Product"]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["Product"]}]}}