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.
https://bugs.php.net/bug.php?id=79601
https://security.netapp.com/advisory/ntap-20201016-0001/
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
Source: MITRE
Published: 2020-10-02
Updated: 2021-12-02
Type: CWE-326
Base Score: 6.4
Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N
Impact Score: 4.9
Exploitability Score: 10
Severity: MEDIUM
Base Score: 6.5
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Impact Score: 2.5
Exploitability Score: 3.9
Severity: MEDIUM