CVE-2024-57854 Details
Description
Net::NSCA::Client versions through 0.009002 for Perl uses a poor random number generator. Version v0.003 switched to use Data::Rand::Obscure instead of Crypt::Random for generation of a random initialisation vectors. Data::Rand::Obscure uses Perl's built-in rand() function, which is not suitable for cryptographic functions.
A vulnerability exists in Net::NSCA::Client versions through 0.009002 for Perl, due to the use of a weak random number generator. The issue arises because version 0.003 switched from Crypt::Random to Data::Rand::Obscure for generating random initialization vectors. Data::Rand::Obscure relies on Perl's built-in rand() function, which is not suitable for cryptographic purposes. This vulnerability can lead to predictable initialization vectors, potentially allowing for cryptographic attacks.
Users can upgrade to Net::NSCA::Client version 0.009002 or later, which addresses the vulnerability by switching back to Crypt::Random for generating initialization vectors. Instructions for upgrading can be found on the MetaCPAN page for Net::NSCA::Client.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Mar 5, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://metacpan.org/release/DOUGDUDE/Net-NSCA-Client-0.009002/source/lib/Net/NSCA/Client/InitialPacket.pm#L119 | CPANSec | Issue TrackingProduct |
| https://patch-diff.githubusercontent.com/raw/dougwilson/perl5-net-nsca-client/pull/2.patch | CPANSec | Patch |
| http://www.openwall.com/lists/oss-security/2026/03/05/1 | CVE | Mailing ListThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| dougdude net::nsca::client | <= 0.009002 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CPANSec |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 9, 2026 | Initial Analysis | [email protected] |
| Mar 5, 2026 | CVE Modified | CISA-ADP |
| Mar 5, 2026 | CVE Modified | CVE |
| Mar 5, 2026 | New CVE Received | CPANSec |