We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-56370

Net::Xero 0.044 and earlier for Perl uses insecure rand() function for cryptographic functions



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.

Reserved 2025-03-26 | Published 2025-04-05 | Updated 2025-04-14 | Assigner CPANSec

Problem types

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Product status

Default status
unaffected

Any version
affected

Credits

Robert Rothenberg (RRWO) finder

References

perldoc.perl.org/functions/rand

security.metacpan.org/...uides/random-data-for-security.html

metacpan.org/...T/Data-Random-0.13/source/lib/Data/Random.pm

metacpan.org/...ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm

metacpan.org/...ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm

cve.org (CVE-2024-56370)

nvd.nist.gov (CVE-2024-56370)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-56370

Support options

Helpdesk Chat, Email, Knowledgebase