CWE
326 20
Advisory Published
Updated

CVE-2020-7069: Weak Encryption

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 SoftwareAffected VersionHow 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+

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    The vulnerability ID is CVE-2020-7069.

  • What is the title of the vulnerability?

    The title of the vulnerability is Fixed bug (Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV).

  • What is the severity of CVE-2020-7069?

    The severity of CVE-2020-7069 is medium, with a CVSS score of 6.5.

  • Which versions of PHP are affected by CVE-2020-7069?

    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.

  • How can I fix the CVE-2020-7069 vulnerability?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203