CVE-2020-7069
CVE-2020-7069 · Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 2.1% · Fix available
- Published
- Updated
Affected products and versions
php
- Versions
- ≥ 7.3.x, < 7.3.23: Affected (custom)
- ≥ 7.4.x, < 7.4.11: Affected (custom)
- ≥ 7.2.x, < 7.2.34: Affected (custom)
Update to 7.2.34; Update to 7.3.23; Update to 7.4.11
php7.4 Debian:11
- Affected ranges
- ECOSYSTEM: < 7.4.11-1
Update to 7.4.11-1
php5 Ubuntu:Pro:14.04:LTS
- Versions
- 5.5.3+dfsg-1ubuntu2
- 5.5.3+dfsg-1ubuntu3
- 5.5.6+dfsg-1ubuntu1
- 5.5.6+dfsg-1ubuntu2
- 5.5.8+dfsg-2ubuntu1
- 5.5.9+dfsg-1ubuntu1
- 5.5.9+dfsg-1ubuntu2
- 5.5.9+dfsg-1ubuntu3
- 5.5.9+dfsg-1ubuntu4
- 5.5.9+dfsg-1ubuntu4.1
- 5.5.9+dfsg-1ubuntu4.2
- 5.5.9+dfsg-1ubuntu4.3
- 5.5.9+dfsg-1ubuntu4.4
- 5.5.9+dfsg-1ubuntu4.5
- 5.5.9+dfsg-1ubuntu4.6
- 5.5.9+dfsg-1ubuntu4.7
- 5.5.9+dfsg-1ubuntu4.9
- 5.5.9+dfsg-1ubuntu4.11
- 5.5.9+dfsg-1ubuntu4.12
- 5.5.9+dfsg-1ubuntu4.13
- 5.5.9+dfsg-1ubuntu4.14
- 5.5.9+dfsg-1ubuntu4.16
- 5.5.9+dfsg-1ubuntu4.17
- 5.5.9+dfsg-1ubuntu4.19
- 5.5.9+dfsg-1ubuntu4.20
- 5.5.9+dfsg-1ubuntu4.21
- 5.5.9+dfsg-1ubuntu4.22
- 5.5.9+dfsg-1ubuntu4.23
- 5.5.9+dfsg-1ubuntu4.24
- 5.5.9+dfsg-1ubuntu4.25
- 5.5.9+dfsg-1ubuntu4.26
- 5.5.9+dfsg-1ubuntu4.27
- 5.5.9+dfsg-1ubuntu4.29
- 5.5.9+dfsg-1ubuntu4.29+esm1
- 5.5.9+dfsg-1ubuntu4.29+esm2
- 5.5.9+dfsg-1ubuntu4.29+esm3
- 5.5.9+dfsg-1ubuntu4.29+esm4
- 5.5.9+dfsg-1ubuntu4.29+esm5
- 5.5.9+dfsg-1ubuntu4.29+esm6
- 5.5.9+dfsg-1ubuntu4.29+esm8
- 5.5.9+dfsg-1ubuntu4.29+esm10
- 5.5.9+dfsg-1ubuntu4.29+esm11
- 5.5.9+dfsg-1ubuntu4.29+esm12
- Affected ranges
- ECOSYSTEM: < 5.5.9+dfsg-1ubuntu4.29+esm13
Update to 5.5.9+dfsg-1ubuntu4.29+esm13
php7.2 Ubuntu:18.04:LTS
- Versions
- 7.2.1-1ubuntu2
- 7.2.2-1ubuntu1
- 7.2.2-1ubuntu2
- 7.2.3-1ubuntu1
- 7.2.5-0ubuntu0.18.04.1
- 7.2.7-0ubuntu0.18.04.1
- 7.2.7-0ubuntu0.18.04.2
- 7.2.10-0ubuntu0.18.04.1
- 7.2.15-0ubuntu0.18.04.1
- 7.2.15-0ubuntu0.18.04.2
- 7.2.17-0ubuntu0.18.04.1
- 7.2.19-0ubuntu0.18.04.1
- 7.2.19-0ubuntu0.18.04.2
- 7.2.24-0ubuntu0.18.04.1
- 7.2.24-0ubuntu0.18.04.2
- 7.2.24-0ubuntu0.18.04.3
- 7.2.24-0ubuntu0.18.04.4
- 7.2.24-0ubuntu0.18.04.6
- Affected ranges
- ECOSYSTEM: < 7.2.24-0ubuntu0.18.04.7
Update to 7.2.24-0ubuntu0.18.04.7
php7.4 Ubuntu:20.04:LTS
- Versions
- 7.4.3-4build1
- 7.4.3-4build2
- 7.4.3-4ubuntu1
- 7.4.3-4ubuntu1.1
- 7.4.3-4ubuntu2.2
- Affected ranges
- ECOSYSTEM: < 7.4.3-4ubuntu2.4
Update to 7.4.3-4ubuntu2.4
Original sources
- https://bugs.php.net/bug.php?id=79601
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html
- https://usn.ubuntu.com/4583-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html
- https://security.gentoo.org/glsa/202012-16
- https://www.debian.org/security/2021/dsa-4856
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20201016-0001/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-14
- https://nvd.nist.gov/vuln/detail/CVE-2020-7069