Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
PHP Group PHP
7.3.x to < 7.3.23affected7.4.x to < 7.4.11affected7.2.x to < 7.2.34affected
References
- 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 ↗