CVE-2025-22376: Net::OAuth - Weak Nonce Generation
- Cve: CVE-2025-22376
- Name: Net::OAuth - Weak Nonce Generation
- 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.
- Impact: Attackers can predict nonces, potentially leading to replay attacks or OAuth token forgery.
- Remediation: Update to version 0.29 or later, or implement cryptographically secure nonce generation.
- Vulnerability type: weak_cryptography
- Vulnerability impact: information_disclosure, data_tampering
- Requirements: Attacker must control or predict rand() output.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.00608
- Epss percentile: 0.50064
- Assignee: [email protected]
- Published at: 2025-01-03T22:15:07Z
- Age in days: 690
- Modified at: 2026-06-17T08:46:53Z
- References total: 7
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-22376
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| keeth/net-oauth | commit | yes | /v1/repositories/keeth/net-oauth |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts