SecurityContext

CVE-2024-56370: Net::Xero - Weak Cryptography

  • Cve: CVE-2024-56370
  • Name: Net::Xero - Weak Cryptography
  • 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.
  • Impact: Attackers can predict or reproduce random values, potentially compromising cryptographic operations or security mechanisms.
  • Remediation: Update to a version that uses a cryptographically secure random source or replace the random function with a secure alternative.
  • Vulnerability type: weak_cryptography
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00355
  • Epss percentile: 0.29633
  • Assignee: 9b29abf9-4ab0-4765-b253-1875cd9b441e
  • Published at: 2025-04-05T19:15:38Z
  • Age in days: 598
  • Modified at: 2026-06-17T08:12:07Z
  • References total: 5
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-56370
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-331Insufficient Entropy

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pm#L537
https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L58
https://metacpan.org/release/ELLIOTT/Net-Xero-0.44/source/lib/Net/Xero.pm#L9
https://perldoc.perl.org/functions/rand
https://security.metacpan.org/docs/guides/random-data-for-security.html

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts