DEBIAN-CVE-2021-21708
Record from OSV · Published February 27, 2022
In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which can result it crashes, and potentially in overwrite of other memory chunks and RCE. This issue affects: code that uses FILTER_VALIDATE_FLOAT with min/max limits.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php7.4 | Debian:11 | 7.4.28-1+deb11u1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Debian:11 | php7.4 | 0, 7.4.21-1+deb11u1, 7.4.25-1+deb11u1 |
Timeline
- Feb 27, 2022 CVE Published
- Aug 27, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln DEBIAN-CVE-2021-21708
vulnetix vdb fixes DEBIAN-CVE-2021-21708
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/DEBIAN-CVE-2021-21708/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart