What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: PHP 7.2.34, 7.3.23, 7.4.11; Tenable.sc 5.19.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-7069 or the next vulnerability affects your stack