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.
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Debian | 10 | all | php7.3 | < 7.3.27-1~deb10u1 | php7.3_7.3.27-1~deb10u1_all.deb |
Debian | 11 | all | php7.4 | < 7.4.11-1 | php7.4_7.4.11-1_all.deb |