Skip to content

CVE-2020-7069 Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV

MediumCVSS 6.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
debian/php7.4(Debian:11) < 7.4.11-1 7.4.11-1
PHP >= 7.2.0, < 7.2.34 7.2.34
PHP >= 7.3.0, < 7.3.23 7.3.23
PHP >= 7.4.0, < 7.4.11 7.4.11
fedoraproject fedora = 31 No fix listed
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
debian linux = 10.0 No fix listed
openSUSE leap = 15.1 No fix listed
openSUSE leap = 15.2 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 20.04 No fix listed
netapp clustered data ontap All versions No fix listed
oracle communications diameter signaling router >= 8.0.0, <= 8.5.0 No fix listed
tenable.sc < 5.19.0 5.19.0
alpine/php7(Alpine:v3.12) < 7.3.23-r0 7.3.23-r0
alpine/php7(Alpine:v3.13) < 7.4.11-r0 7.4.11-r0
alpine/php7(Alpine:v3.14) < 7.4.11-r0 7.4.11-r0
alpine/php7(Alpine:v3.15) < 7.4.11-r0 7.4.11-r0
PHP >= 7.3.x, < 7.3.23 7.3.23
PHP >= 7.4.x, < 7.4.11 7.4.11
PHP >= 7.2.x, < 7.2.34 7.2.34

References