What’s Vulnerable › Vulnerabilities
CVE-2023-3247: Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-07-22 · updated 2026-06-17
- Weakness: CWE-252
Description
In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce.
Affected products
- PHP: from 8.0.0 before 8.0.29; from 8.1.0 before 8.1.20; from 8.2.0 before 8.2.7 — fixed in 8.0.29, 8.1.20, 8.2.7
How to fix
Upgrade to a fixed version: PHP 8.0.29, 8.1.20, 8.2.7. Check the vendor advisory for mitigations.
References
- https://github.com/php/php-src/security/advisories/GHSA-76gg-c692-v2mw
- https://github.com/php/php-src/security/advisories/GHSA-76gg-c692-v2mw
Get alerted when CVE-2023-3247 or the next vulnerability affects your stack