Bug 1885735 (CVE-2020-7069) - CVE-2020-7069 php: Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
Summary: CVE-2020-7069 php: Wrong ciphertext/tag in AES-CCM encryption for a 12 bytes IV
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-7069
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1885736 Red Hat1888319 Red Hat1888320 Red Hat1888321 Red Hat1888365 Red Hat1888366 Red Hat1977766
Blocks: Embargoed1885753
TreeView+ depends on / blocked
 
Reported: 2020-10-06 20:14 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-11-09 17:45 UTC (History)
7 users (show)

Fixed In Version: php 7.4.11, php 7.3.23, php 7.2.34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-03 13:06:58 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:2992 0 None None None 2021-08-03 09:15:51 UTC
Red Hat Product Errata RHSA-2021:4213 0 None None None 2021-11-09 17:45:13 UTC

Description Guilherme de Almeida Suckevicz 2020-10-06 20:14:05 UTC
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.

Reference:
https://bugs.php.net/bug.php?id=79601

Comment 1 Guilherme de Almeida Suckevicz 2020-10-06 20:14:22 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1885736]

Comment 2 Remi Collet 2020-10-07 05:17:35 UTC
Notice: Only PHP versions >= 7.1 are affected, older version are not.

Comment 5 Marco Benatto 2020-10-14 16:58:16 UTC
Upstream commit for this issue: http://git.php.net/?p=php-src.git;a=commit;h=0216630ea2815a5789a24279a1211ac398d4de79

Comment 8 errata-xmlrpc 2021-08-03 09:15:49 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2021:2992 https://access.redhat.com/errata/RHSA-2021:2992

Comment 9 Product Security DevOps Team 2021-08-03 13:06:58 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-7069

Comment 10 errata-xmlrpc 2021-11-09 17:45:12 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4213 https://access.redhat.com/errata/RHSA-2021:4213


Note You need to log in before you can comment on or make changes to this bug.