{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-56370","published":"2025-04-05T19:15:38.857000Z","last_modified":"2026-06-17T08:12:07.627000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-331","CWE-338"],"cpes":[],"cpes_truncated":false,"vendors":["elliott"],"products":["elliott/net-xero"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00635,"percentile":0.45006,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":54,"links":{"html_es":"/es/cve/CVE-2024-56370/","html_en":"/en/cve/CVE-2024-56370/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-56370","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-56370"},"untrusted":{"vendor_name":"ELLIOTT","product_name":"Net::Xero","desc_en":"Net::Xero 0.044 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\n\nSpecifically Net::Xero 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":"ELLIOTT","untrusted_product":"Net::Xero","versions":[]}],"references":[{"url":"https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537","tags":[]},{"url":"https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L58","tags":[]},{"url":"https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L9","tags":[]},{"url":"https://perldoc.perl.org/functions/rand","tags":[]},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":[]}]}}