{"id":"CVE-2024-57854","state":"PUBLISHED","title":"Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator","description":"Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator.\n\nVersion v0.003 switched to use Data::Rand::Obscure instead of Crypt::Random for generation of a random initialisation vectors.\n\nData::Rand::Obscure uses Perl's built-in rand() function, which is not suitable for cryptographic functions.","publishedAt":"2026-03-05T02:18:25.951Z","updatedAt":"2026-03-05T16:41:19.727Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["DOUGDUDE Net::NSCA::Client"],"affected":[{"vendor":"DOUGDUDE","product":"Net::NSCA::Client","packageName":"Net-NSCA-Client","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.009002","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Net/NSCA/Client/InitialPacket.pm"],"programRoutines":[{"name":"_build_initialization_vector"}],"repo":"https://github.com/dougwilson/perl5-net-nsca-client"}],"references":["https://metacpan.org/release/DOUGDUDE/Net-NSCA-Client-0.009002/source/lib/Net/NSCA/Client/InitialPacket.pm#L119","https://patch-diff.githubusercontent.com/raw/dougwilson/perl5-net-nsca-client/pull/2.patch","http://www.openwall.com/lists/oss-security/2026/03/05/1"],"weaknesses":["CWE-338"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/57xxx/CVE-2024-57854.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-57854","state":"PUBLISHED","datePublished":"2026-03-05T02:18:25.951Z","dateUpdated":"2026-03-05T16:41:19.727Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2025-03-26T14:00:56.392Z"},"containers":{"cna":{"title":"Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator","descriptions":[{"lang":"en","value":"Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator.\n\nVersion v0.003 switched to use Data::Rand::Obscure instead of Crypt::Random for generation of a random initialisation vectors.\n\nData::Rand::Obscure uses Perl's built-in rand() function, which is not suitable for cryptographic functions."}],"affected":[{"vendor":"DOUGDUDE","product":"Net::NSCA::Client","packageName":"Net-NSCA-Client","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.009002","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Net/NSCA/Client/InitialPacket.pm"],"programRoutines":[{"name":"_build_initialization_vector"}],"repo":"https://github.com/dougwilson/perl5-net-nsca-client"}],"references":[{"url":"https://metacpan.org/release/DOUGDUDE/Net-NSCA-Client-0.009002/source/lib/Net/NSCA/Client/InitialPacket.pm#L119"},{"url":"https://patch-diff.githubusercontent.com/raw/dougwilson/perl5-net-nsca-client/pull/2.patch","tags":["patch"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-338","description":"CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-03-05T02:18:25.951Z"},"credits":[{"lang":"en","type":"finder","value":"Robert Rothenberg"}],"solutions":[{"lang":"en","value":"Apply a manual patch or migrate to a different solution"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/03/05/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-03-05T11:12:50.673Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-03-05T16:40:27.714179Z","id":"CVE-2024-57854","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-05T16:41:19.727Z"}}]}}}