Ubuntu CVE Tracker
UBUNTU-CVE-2020-7069
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions before 5.5.9+dfsg-1ubuntu4.29+esm13 (fixed in 5.5.9+dfsg-1ubuntu4.29+esm13) |
| Ubuntu:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.7 (fixed in 7.2.24-0ubuntu0.18.04.7) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.4 (fixed in 7.4.3-4ubuntu2.4) |
References
- https://ubuntu.com/security/CVE-2020-7069
- https://git.php.net/?p=php-src.git;a=commit;h=0216630ea2815a5789a24279a1211ac398d4de79
- https://bugs.php.net/bug.php?id=79601
- https://ubuntu.com/security/notices/USN-4583-1
- https://ubuntu.com/security/notices/USN-4583-2
- https://www.cve.org/CVERecord?id=CVE-2020-7069