{ "document": { "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "description", "text": "Crypt::CBC versions between 1.21 and 3.04 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions. This issue affects operating systems where \"/dev/urandom'\" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.", "title": "Vulnerability Description" } ], "publisher": { "category": "other", "contact_details": "gdt@cpan.org", "name": "giterlizzi", "namespace": "https://github.com/giterlizzi/" }, "references": [ { "category": "self", "summary": "CPANSA-Crypt-CBC-2025-2814 JSON", "url": "https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2025/cpansa-crypt-cbc-2025-2814.json" }, { "category": "external", "summary": "https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777", "url": "https://metacpan.org/dist/Crypt-CBC/source/lib/Crypt/CBC.pm#L777" }, { "category": "external", "summary": "https://perldoc.perl.org/functions/rand", "url": "https://perldoc.perl.org/functions/rand" }, { "category": "external", "summary": "https://security.metacpan.org/docs/guides/random-data-for-security.html", "url": "https://security.metacpan.org/docs/guides/random-data-for-security.html" }, { "category": "external", "summary": "https://github.com/lstein/Lib-Crypt-CBC/issues/9", "url": "https://github.com/lstein/Lib-Crypt-CBC/issues/9" }, { "category": "external", "summary": "CVE-2025-2814 (NVD)", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-2814" } ], "title": "Crypt-CBC vulnerability", "tracking": { "current_release_date": "2025-04-13T00:00:00", "generator": { "engine": { "name": "CSAF Perl Toolkit", "version": "0.25" } }, "id": "CPANSA-Crypt-CBC-2025-2814", "initial_release_date": "2025-04-13T00:00:00", "revision_history": [ { "date": "2025-04-13T00:00:00", "number": "1", "summary": "First release" } ], "status": "final", "version": "1" } }, "product_tree": { "branches": [ { "branches": [ { "category": "product_version_range", "name": "vers:cpan/>=1.21", "product": { "name": "Crypt-CBC greater than or equal 1.21", "product_id": "CSAFPID-0001" } } ], "category": "product_name", "name": "Crypt-CBC" } ] }, "vulnerabilities": [ { "cve": "CVE-2025-2814", "cwe": { "id": "CWE-338", "name": "Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)" }, "notes": [ { "category": "description", "text": "Crypt::CBC versions between 1.21 and 3.05 for Perl may use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\n\nThis issue affects operating systems where \"/dev/urandom'\" is unavailable.  In that case, Crypt::CBC will fallback to use the insecure rand() function.", "title": "Vulnerability Description" } ], "product_status": { "known_affected": [ "CSAFPID-0001" ] }, "scores": [ { "cvss_v3": { "baseScore": 4.0, "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "version": "3.1" }, "products": [ "CSAFPID-0001" ] } ] } ] }