CVE-2020-7069
Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
Reported by php · Published October 2, 2020
In PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23 and 7.4.x below 7.4.11, when AES-CCM mode is used with openssl_encrypt() function with 12 bytes IV, only first 7 bytes of the IV is actually used. This can lead to both decreased security and incorrect encryption data.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| php-min | Bitnami | 7.4.11, 7.3.23, 7.2.34 |
| libphp | Bitnami | 7.4.11, 7.3.23, 7.2.34 |
| php7 | Alpine | 7.4.11-r0, 7.3.23-r0 |
| php5 | Ubuntu:Pro:14.04:LTS | 5.5.9+dfsg-1ubuntu4.29+esm13 |
| communications_diameter_signaling_router | oracle | 8.5.0 |
| libphp | Bitnami | 7.4.11, 7.3.23, 7.2.34 |
| tenable.sc | tenable | 5.19.0 |
| php | php | 7.4.11, 7.3.23, 7.2.34 |
| PHP | PHP Group | 7.4.11, 7.3.23, 7.2.34 |
| php | Bitnami | 7.4.11, 7.3.23, 7.2.34 |
| php-min | Bitnami | 7.4.11, 7.3.23, 7.2.34 |
| php7.4 | Ubuntu:20.04:LTS | 7.4.3-4ubuntu2.4 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| PHP Group | PHP | 7.3.x, 7.4.x, 7.2.x |
| PHP Group | PHP | 7.3.x, 7.4.x, 7.2.x |
| alpine | php7 | 0, 0 |
Timeline
- May 11, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 28, 2021 PoC Published (5 in total, the first dated here)
- Mar 7, 2026 Distribution Patch (5 in total, the first dated here)
- Mar 7, 2026 Security Advisory (14 in total, the first dated here)
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-7069
vulnetix vdb fixes CVE-2020-7069
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-2020-7069/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2020-4573f0e03a vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-4fe6b116e5 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-94763cb98b vendor-advisoryx_refsource_FEDORA
- openSUSE-SU-2020:1703 vendor-advisoryx_refsource_SUSE
- USN-4583-1 vendor-advisoryx_refsource_UBUNTU
- openSUSE-SU-2020:1767 vendor-advisoryx_refsource_SUSE
- GLSA-202012-16 vendor-advisoryx_refsource_GENTOO
- DSA-4856 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM