Unrated severityNVD Advisory· Published Apr 5, 2025· Updated Sep 5, 2025
WebService::Xero 0.11 for Perl uses insecure rand() function for cryptographic functions
CVE-2024-52322
Description
WebService::Xero 0.11 and earlier for Perl uses the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Specifically WebService::Xero uses the Data::Random library which specifically states that it is "Useful mostly for test programs". Data::Random uses the rand() function.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- Range: <=0.11
- LOCALSHOP/WebService::Xerov5Range: 0
Patches
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
7- metacpan.org/release/BAREFOOT/Data-Random-0.13/source/lib/Data/Random.pmmitre
- metacpan.org/release/LOCALSHOP/WebService-Xero-0.11/source/lib/WebService/Xero/Agent.pmmitre
- metacpan.org/release/LOCALSHOP/WebService-Xero-0.11/source/lib/WebService/Xero/Agent.pmmitre
- metacpan.org/release/LOCALSHOP/WebService-Xero-0.11/source/lib/WebService/Xero/Agent/PublicApplication.pmmitre
- metacpan.org/release/LOCALSHOP/WebService-Xero-0.11/source/lib/WebService/Xero/Agent/PublicApplication.pmmitre
- perldoc.perl.org/functions/randmitre
- security.metacpan.org/docs/guides/random-data-for-security.htmlmitre
News mentions
0No linked articles in our index yet.