CVE-2025-21617
PHP vulnerability analysis and mitigation

Overview

Guzzle OAuth Subscriber, which signs Guzzle requests using OAuth 1.0, contained a security vulnerability prior to version 0.8.1. The vulnerability was discovered on January 6, 2025, and was assigned CVE-2025-21617. The issue affects all versions before 0.8.1 of the guzzlehttp/oauth-subscriber package (GitHub Advisory).

Technical details

The vulnerability stems from insufficient entropy in nonce generation and the lack of a cryptographically secure pseudorandom source in the OAuth implementation. The affected code was located in the generateNonce function, which used sha1 and uniqid functions that don't provide sufficient randomness (GitHub Source). The issue has been assigned a CVSS v4.0 Base Score of 6.3 (MEDIUM) with the vector string CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N (NVD).

Impact

When TLS is not used, this vulnerability can leave servers susceptible to replay attacks. The insufficient entropy in nonce generation makes it possible for attackers to predict or reproduce nonce values, potentially compromising the security of OAuth authentication (GitHub Advisory).

Exploitability

The vulnerability requires a network-based attack vector and high attack complexity. No user interaction is required for exploitation, and no privileges are needed. There are no known reports of this vulnerability being exploited in the wild (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 0.8.1 by implementing a cryptographically secure random number generator using the random_bytes function. Users are advised to upgrade to version 0.8.1 or higher. No workarounds are available for this vulnerability (GitHub Advisory, GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-44741HIGH8.8
  • PHP logoPHP
  • pimcore/admin-ui-classic-bundle
NoYesAug 12, 2026
CVE-2026-47233MEDIUM6.5
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-47132MEDIUM5.4
  • PHP logoPHP
  • thorsten/phpmyfaq
NoYesAug 12, 2026
CVE-2026-47234MEDIUM4.4
  • PHP logoPHP
  • admidio/admidio
NoYesAug 12, 2026
CVE-2026-49262LOW3
  • PHP logoPHP
  • aimeos/pagible
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management