Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP. The Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo remote sources are accessed over plain HTTP. The Data::Entropy::RawSource::RandomOrg integrity check trivially matches any non-empty byte string. Any on-path attacker, such as open WiFi, a compromised ISP, captive portal, or a hostile egress proxy substitutes the response and thereby chooses the bytes returned by rand_bits and rand_int for every application that selected one of these sources via with_entropy_source. The _checkbuf method response is equally attacker-controlled, so the retry/sleep behaviour is steerable too.
Fix
Patch, vendor advisory and mitigation references on NVD 1
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · rrwoNVD modified 2026-10-23 23:10
Affected (CPE criteria) 1
cpe:2.3:a:rrwo:data\:\:entropy:*:*:*:*:*:perl:*:*
References 5
- https://github.com/robrwo/Data-Entropy/security/advisories/GHSA-845w-rcqw-jwvv Vendor Advisory
- https://metacpan.org/release/RRWO/Data-Entropy-0.008/view/lib/Data/Entropy.pm#STATUS Release Notes
- https://metacpan.org/release/RRWO/Data-Entropy-0.010/changes Release Notes
- https://security.metacpan.org/docs/guides/random-data-for-security.html Third Party Advisory
- http://www.openwall.com/lists/oss-security/2026/08/01/8 Mailing List, Third Party Advisory