CVE-2020-7069
Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
- State
- Published
- Severity
- 5.4 Medium
- Published
- Oct 2, 2020
- Updated
- Sep 17, 2024
- Reserved
- Jan 15, 2020
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N | php |
Weaknesses
- CWE-20 Improper Input Validation
Affected Products
| Product | Versions |
|---|---|
PHPPHP Group |
|
References
- https://bugs.php.net/bug.php?id=79601
- FEDORA-2020-4573f0e03avendor-advisory
- FEDORA-2020-4fe6b116e5vendor-advisory
- FEDORA-2020-94763cb98bvendor-advisory
- openSUSE-SU-2020:1703vendor-advisory
- USN-4583-1vendor-advisory
- openSUSE-SU-2020:1767vendor-advisory
- GLSA-202012-16vendor-advisory
- DSA-4856vendor-advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://security.netapp.com/advisory/ntap-20201016-0001/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-14
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.