CVE-2025-22376
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jan 3, 2025
- Updated
- Jan 21, 2025
- Reserved
- Jan 3, 2025
Description
In Net::OAuth::Client in the Net::OAuth package before 0.29 for Perl, the default nonce is a 32-bit integer generated from the built-in rand() function, which is not cryptographically strong.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | CISA-ADP |
Weaknesses
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://metacpan.org/release/RRWO/Net-OAuth-0.29/changes
- https://metacpan.org/release/KGRENNAN/Net-OAuth-0.28/source/lib/Net/OAuth/Client.pm#L260
- https://metacpan.org/release/RRWO/Net-OAuth-0.29/diff/KGRENNAN/Net-OAuth-0.28#lib/Net/OAuth/Client.pm
- https://www.vulnarium.com/blogpost-2025-01-05
- https://github.com/keeth/Net-OAuth/commit/2aa25e04aadab247ae4063363fcee177161e1f42
- https://datatracker.ietf.org/doc/html/rfc5849#section-4.10
- https://datatracker.ietf.org/doc/html/rfc5849#section-3.3
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.