Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Net::OAuth - CVE-2025-22376

 

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Net::OAuth - CVE-2025-22376

Published: January 13, 2025


Vulnerability identifier: #VU102572
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-22376
CWE-ID: CWE-338
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to usage of a weak nonce in Net::OAuth::Client. A remote attacker can guess the nonce and perform MitM attack.


Affected software

Net::OAuth
Fedora
perl-Net-OAuth

How to mitigate CVE-2025-22376

Install updates from vendor's website.

Net::OAuth - update to 0.29
perl-Net-OAuth - addressed in versions 0.30-1.el10_0, 0.30-1.fc40, 0.30-1.fc41

External References

Related Security Bulletins