SecurityContext

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

IdName
CWE-338Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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/changes
https://datatracker.ietf.org/doc/html/rfc5849#section-3.3
https://datatracker.ietf.org/doc/html/rfc5849#section-4.10
https://github.com/keeth/Net-OAuth/commit/2aa25e04aadab247ae4063363fcee177161e1f42
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

Projects

RepositoryLink kindsIndexedUrl
keeth/net-oauthcommityes/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