CVE-2023-3247
Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP
Reported by php · Published July 22, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php8.1-dbg | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-odbc | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-mysqlnd | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-tidy | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-pspell | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-snmp | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-opcache | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-enchant | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-bcmath | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1 | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php8.1-fpm | Amazon Linux | 8.1.22-1.amzn2023.0.1 |
| php | Bitnami | 8.2.7, 8.1.20, 8.0.29 |
25 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 8.0.*, 8.1.*, 8.2.* |
| amazon:2023 | php8.1-dbg | 0 |
| amazon:2023 | php8.1-odbc | 0 |
| amazon:2023 | php8.1-mysqlnd | 0 |
| amazon:2023 | php8.1-tidy | 0 |
| amazon:2023 | php8.1-pspell | 0 |
| amazon:2023 | php8.1-snmp | 0 |
| amazon:2023 | php8.1-opcache | 0 |
| amazon:2023 | php8.1-enchant | 0 |
| amazon:2023 | php8.1-bcmath | 0 |
| amazon:2023 | php8.1 | 0 |
| PHP Group | PHP | 8.2.*, 8.0.*, 8.1.* |
| amazon:2023 | php8.1-fpm | 0 |
| amazon:2023 | php8.1-embedded | 0 |
| amazon:2023 | php8.1-intl | 0 |
| amazon:2023 | php8.1-ldap | 0 |
| amazon:2023 | php8.1-gd | 0 |
| amazon:2023 | php8.1-ffi | 0 |
| amazon:2023 | php8.1-soap | 0 |
| amazon:2023 | php8.1-common | 0 |
…and 11 more
Timeline
- Jun 19, 2023 CVE Published
- Jul 22, 2023 EPSS Score (30 in total, the first dated here)
- Aug 10, 2026 Coalition ESS Score
- Nov 21, 2026 Security Advisory (9 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (8 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-3247
vulnetix vdb fixes CVE-2023-3247
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-3247/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart