Vulnerability · Published Jan 3, 2025 · Assigned by mitre
CVE-2025-22376
Medium 5.3
In plain English
A medium-severity security flaw in the libnet-oauth-perl package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 49% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.6%top 50.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libnet-oauth-perl | no fix listed | DEBIAN-CVE-2025-22376 |
| Debian:13 | libnet-oauth-perl | 0.30-1 | DEBIAN-CVE-2025-22376 |
| Debian:14 | libnet-oauth-perl | 0.30-1 | DEBIAN-CVE-2025-22376 |
| Ubuntu:22.04:LTS | libnet-oauth-perl | no fix listed | UBUNTU-CVE-2025-22376 |
| Ubuntu:24.04:LTS | libnet-oauth-perl | no fix listed | UBUNTU-CVE-2025-22376 |
Affected products (as reported)
Weakness: CWE-338 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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