CVE-2024-56370 – Xero Perl Cryptographic Entropy Weakness

The following table lists the changes that have been made to the
CVE-2024-56370 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by 9b29abf9-4ab0-4765-b253-1875cd9b441e

    Apr. 05, 2025

    Action Type Old Value New Value
    Added 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.

    Added CWE CWE-338
    Added Reference https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
    Added Reference https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L58
    Added Reference https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L9
    Added Reference https://perldoc.perl.org/functions/rand
    Added Reference https://security.metacpan.org/docs/guides/random-data-for-security.html
Share the Post:

Related Posts