Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-56370

published medium CVSS 3.1 · 6.5

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

Published
05 Apr 2025, 18:26:22 UTC
Updated
05 Sep 2025, 13:18:38 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
ELLIOTT — Net-XeroNet::Xero · 0 through 0.44 · Other versions: unaffected Affected Not stated CPANSec

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.

en · CPANSec · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
ELLIOTT Net::Xero 0 through 0.44 (affected · custom)Default: unaffected CPANSec · cna

Weaknesses

2
  • CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) (CPANSec · cna)
  • CWE-331 CWE-331 Insufficient Entropy (CPANSec · cna)

References

5

Provider assertions

2

CPANSec · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.1
Searchable
yes
Content hash
a492cb4c21144063b4f0e6430028b2b459c9399b262f35cba7d80eae6e0c32ba
Ingested
23 Sep 2026, 08:31:43 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected