Bug 1820604 (CVE-2020-7066) - CVE-2020-7066 php: Information disclosure in function get_headers
Summary: CVE-2020-7066 php: Information disclosure in function get_headers
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-7066
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1820605 1821140 1821141 1821142 1821143 1857715
Blocks: 1820607
TreeView+ depends on / blocked
 
Reported: 2020-04-03 12:51 UTC by Dhananjay Arunesh
Modified: 2021-02-16 20:19 UTC (History)
8 users (show)

Fixed In Version: php 7.2.29, php 7.3.16, php 7.4.4
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-08 13:19:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:3662 0 None None None 2020-09-08 09:47:26 UTC
Red Hat Product Errata RHSA-2020:5275 0 None None None 2020-12-01 12:03:24 UTC

Description Dhananjay Arunesh 2020-04-03 12:51:26 UTC
A vulnerability was found in PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.4.x below 7.4.34, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.

Comment 1 Dhananjay Arunesh 2020-04-03 12:51:46 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1820605]

Comment 2 Dhananjay Arunesh 2020-04-03 12:53:45 UTC
External References:

https://bugs.php.net/bug.php?id=79329

Comment 3 Huzaifa S. Sidhpurwala 2020-04-06 07:14:39 UTC
Upstream patch: http://git.php.net/?p=php-src.git;a=commit;h=0c77b4307df73217283a4aaf9313e1a33a0967ff

Comment 8 errata-xmlrpc 2020-09-08 09:47:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:3662 https://access.redhat.com/errata/RHSA-2020:3662

Comment 9 Product Security DevOps Team 2020-09-08 13:19:07 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-7066

Comment 10 errata-xmlrpc 2020-12-01 12:03:20 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.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS

Via RHSA-2020:5275 https://access.redhat.com/errata/RHSA-2020:5275


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