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).

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-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 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