CVE-2020-7069: 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...
Medium CVSS 6.5
- CVE id
- CVE-2020-7069
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PHP Runtimes and servers |
>= 7.2.0, < 7.2.34 >= 7.3.0, < 7.3.23 >= 7.4.0, < 7.4.11 |
7.2.34, 7.3.23, 7.4.11 |
How to fix it
Upgrade PHP to the fixed release of the line you run: 7.2.34, 7.3.23, 7.4.11.
php --version
- Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2020-7069 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2020-7069
- Web: https://bugs.php.net/bug.php?id=79601
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/
- Web: https://security.gentoo.org/glsa/202012-16
- Web: https://security.netapp.com/advisory/ntap-20201016-0001/
- Web: https://usn.ubuntu.com/4583-1/
- Web: https://www.debian.org/security/2021/dsa-4856
- Web: https://www.oracle.com/security-alerts/cpuApr2021.html
- Web: https://www.oracle.com/security-alerts/cpuoct2021.html
- Web: https://www.tenable.com/security/tns-2021-14
- Web: https://bugs.php.net/bug.php?id=79601
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/
- Web: https://security.gentoo.org/glsa/202012-16
- Web: https://security.netapp.com/advisory/ntap-20201016-0001/
- Web: https://usn.ubuntu.com/4583-1/
- Web: https://www.debian.org/security/2021/dsa-4856
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.