01 Record
CVE-2025-1805
Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes
MediumPUBLISHEDCNA: CPANSec
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
02 Description
Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 0.47% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 40.9% of scored records. A rank, not a probability.
- NVD base score
- 5.3 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2025-04-02 12:53Z1 YR AGO
- Last updated
- 2025-04-03 19:11Z1 YR AGO
- Reserved
- 2025-03-01
- Assigning CNA
- CPANSec
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.3)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)Base
- Data version
- 5.1
- Document digest
- b6ba02a36f82b93ce51133eba51799ba540a74ef7186d962356d1cd80428826b
05 Affected products
VendorProductVersionsPlatforms
06 References
- metacpan.orghttps://metacpan.org/release/HACHI/Crypt-Salt-0.01/source/lib/Crypt/Salt.pm#L76
- perldoc.perl.orghttps://perldoc.perl.org/functions/rand
- security.metacpan.orghttps://security.metacpan.org/docs/guides/random-data-for-security.html