CVE-2025-22376
published medium CVSS 3.1 · 5.3perl-Net-OAuth: Predictable nonce generation due to insufficient cryptographic strength
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-OAuthaarch64 | Advisory build | 0.330.0-2.1 | OPENSUSE-SU-2026:12065-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-OAuthppc64le | Advisory build | 0.330.0-2.1 | OPENSUSE-SU-2026:12065-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-OAuths390x | Advisory build | 0.330.0-2.1 | OPENSUSE-SU-2026:12065-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Net-OAuthx86_64 | Advisory build | 0.330.0-2.1 | OPENSUSE-SU-2026:12065-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
7- 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/KGRENNAN/Net-OAuth-0.28/source/lib/Net/OAuth/Client.pm#L260
- https://metacpan.org/release/RRWO/Net-OAuth-0.29/changes
- 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
Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2136a37946abbcf0f03f4a28c0894af7e6665d6761a9a4dac95d3f00008a3b8e
- Ingested
- 23 Sep 2026, 08:40:04 UTC
- Source record
- Official CVE record