Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
Published Oct 2, 2020
6.5
MEDIUMCVSS 3.1
EPSS 2.05%
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
-
Affected
- ≥ 7.2.x, < 7.2.34
- ≥ 7.3.x, < 7.3.23
- ≥ 7.4.x, < 7.4.11
Configuration 1
Configuration 2
- 31
- 32
- 33
Configuration 3
- 10.0
Configuration 5
- 12.04
- 14.04
- 16.04
- 18.04
- 20.04
Configuration 6
- n/a
Configuration 7
- ≥ 8.0.0 · ≤ 8.5.0
Configuration 8
- < 5.19.0
No data.
Red Hat Enterprise Linux 8
php:7.4-8050020210526053050.3e6e7e84
Fixed · RHSA-2021:4213
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-php73-php-0:7.3.29-1.el7
Fixed · RHSA-2021:2992
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-php73-php-0:7.3.29-1.el7
Fixed · RHSA-2021:2992
Red Hat Enterprise Linux 5
php
Not affected
Red Hat Enterprise Linux 5
php53
Not affected
Red Hat Enterprise Linux 6
php
Not affected
Red Hat Enterprise Linux 7
php
Not affected
Red Hat Enterprise Linux 8
php:7.2/php
Will not fix
Red Hat Enterprise Linux 8
php:7.3/php
Will not fix
Red Hat Software Collections
rh-php72-php
Out of support scope
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | php:7.4-8050020210526053050.3e6e7e84 | Fixed | RHSA-2021:4213 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-php73-php-0:7.3.29-1.el7 | Fixed | RHSA-2021:2992 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-php73-php-0:7.3.29-1.el7 | Fixed | RHSA-2021:2992 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
| Red Hat Enterprise Linux 5 | php53 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | php | Not affected | n/a |
| Red Hat Enterprise Linux 7 | php | Not affected | n/a |
| Red Hat Enterprise Linux 8 | php:7.2/php | Will not fix | n/a |
| Red Hat Enterprise Linux 8 | php:7.3/php | Will not fix | n/a |
| Red Hat Software Collections | rh-php72-php | Out of support scope | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (18)
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00045.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00067.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2020-7069 Vendor Advisory
- https://bugs.php.net/bug.php?id=79601 x_refsource_MISCIssue TrackingPatchVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1885735 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-28203 Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7EVDN7D3IB4EAI4D3ZOM2OJKQ5SD7K4E/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/P2J3ZZDHCSX65T5QWV4AHBN7MOJXBEKG/ vendor-advisoryx_refsource_FEDORA
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RRU57N3OSYZPOMFWPRDNVH7EMYOTSZ66/ vendor-advisoryx_refsource_FEDORA
- https://nvd.nist.gov/vuln/detail/CVE-2020-7069
- https://security.gentoo.org/glsa/202012-16 vendor-advisoryx_refsource_GENTOOThird Party Advisory
- https://security.netapp.com/advisory/ntap-20201016-0001/ x_refsource_CONFIRMThird Party Advisory
- https://usn.ubuntu.com/4583-1/ vendor-advisoryx_refsource_UBUNTUThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-7069
- https://www.debian.org/security/2021/dsa-4856 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISCPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html x_refsource_MISCPatchThird Party Advisory
- https://www.tenable.com/security/tns-2021-14 x_refsource_CONFIRMThird Party Advisory
Change history (0)
No recorded changes yet.
CVE.org / MITRE
CISA Vulnrichment
No data
GitHub
No data