CVE-2024-56370
MEDIUM EPSS 22.2%
Published Apr 5, 20251y ago · Modified Jun 17, 20262w ago
6.5 CVSS 3.1
Published Apr 5, 2025 1y ago
Last Modified Jun 17, 2026 2w ago
Description
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. Specifically Net::Xero uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Low
Integrity Low
Availability None
Threat Intelligence
EPSS Exploit Probability
22.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available
Weaknesses 2
CWE-331
CWE-338
References 5
- metacpan.org https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
- metacpan.org https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L58
- metacpan.org https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L9
- perldoc.perl.org https://perldoc.perl.org/functions/rand
- security.metacpan.org https://security.metacpan.org/docs/guides/random-data-for-security.html
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.