GHSA-237r-r8m4-4q88

Suggest an improvement
Source
https://github.com/advisories/GHSA-237r-r8m4-4q88
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-237r-r8m4-4q88/GHSA-237r-r8m4-4q88.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-237r-r8m4-4q88
Aliases
Published
2025-01-06T19:23:26Z
Modified
2025-01-06T22:25:38.233403Z
Severity
  • 6.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Guzzle OAuth Subscriber has insufficient nonce entropy
Details

Impact

Nonce generation does not use sufficient entropy nor a cryptographically secure pseudorandom source (https://github.com/guzzle/oauth-subscriber/blob/0.8.0/src/Oauth1.php#L192). This can leave servers vulnerable to replay attacks when TLS is not used.

Patches

Upgrade to version 0.8.1 or higher.

Workarounds

No.

References

Issue is similar to https://nvd.nist.gov/vuln/detail/CVE-2025-22376.

Database specific
{
    "nvd_published_at": "2025-01-06T20:15:39Z",
    "cwe_ids": [
        "CWE-338"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-06T19:23:26Z"
}
References

Affected packages

Packagist / guzzlehttp/oauth-subscriber

Package

Name
guzzlehttp/oauth-subscriber
Purl
pkg:composer/guzzlehttp/oauth-subscriber

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.1

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.2.0
0.3.0
0.4.0
0.5.0
0.6.0
0.7.0
0.8.0