First published: Thu Oct 01 2020(Updated: )
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.
Credit: security@php.net security@php.net
Affected Software | Affected Version | How to fix |
---|---|---|
PHP PHP | >=7.2.0<7.2.34 | |
PHP PHP | >=7.3.0<7.3.23 | |
PHP PHP | >=7.4.0<7.4.11 | |
Fedoraproject Fedora | =31 | |
Fedoraproject Fedora | =32 | |
Fedoraproject Fedora | =33 | |
Debian Debian Linux | =10.0 | |
openSUSE Leap | =15.1 | |
openSUSE Leap | =15.2 | |
Canonical Ubuntu Linux | =12.04 | |
Canonical Ubuntu Linux | =14.04 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =18.04 | |
Canonical Ubuntu Linux | =20.04 | |
NetApp Clustered Data ONTAP | ||
Oracle Communications Diameter Signaling Router | >=8.0.0<=8.5.0 | |
Tenable Tenable.sc | <5.19.0 | |
PHP PHP | <7.2.34 | 7.2.34 |
debian/php7.3 | 7.3.31-1~deb10u1 7.3.31-1~deb10u5 | |
debian/php7.4 | 7.4.33-1+deb11u4 | |
ubuntu/php7.2 | <7.2.24-0ubuntu0.18.04.7 | 7.2.24-0ubuntu0.18.04.7 |
ubuntu/php7.4 | <7.4.3-4ubuntu2.4 | 7.4.3-4ubuntu2.4 |
ubuntu/php7.4 | <7.4.9-1ubuntu1.1 | 7.4.9-1ubuntu1.1 |
ubuntu/php5 | <5.5.9+dfsg-1ubuntu4.29+ | 5.5.9+dfsg-1ubuntu4.29+ |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The vulnerability ID is CVE-2020-7069.
The title of the vulnerability is Fixed bug (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV).
The severity of CVE-2020-7069 is medium, with a CVSS score of 6.5.
PHP versions 7.2.x below 7.2.34, 7.3.x below 7.3.23, and 7.4.x below 7.4.11 are affected by CVE-2020-7069.
To fix the CVE-2020-7069 vulnerability, update PHP to version 7.2.34, 7.3.23, or 7.4.11 depending on your PHP version.