CVE-2020-7066 Details
Description
In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, 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.
A vulnerability exists in PHP versions 7.2.x prior to 7.2.29, 7.3.x prior to 7.3.16, and 7.4.x prior to 7.4.4. When the get_headers() function is used with a user-supplied URL containing a null character, the URL is silently truncated at the null byte. This truncation can lead to incorrect assumptions about the target URL, potentially causing sensitive information to be sent to the wrong server.
Users can upgrade to PHP versions 7.2.29, 7.3.16, or 7.4.4 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-170 | Improper Null Termination | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.2.0, < 7.2.29 >= 7.3.0, < 7.3.16 >= 7.4.0, < 7.4.4 |
CPE
Remediation
| |
| tenable tenable.sc | < 5.19.0 5.19.0 |
CPE
Remediation
| |
| opensuse leap | 15.1 |
CPE
Remediation
| |
| debian debian linux | 8.0 9.0 10.0 |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| May 8, 2022 | Modified Analysis | [email protected] |
| Jul 22, 2021 | CVE Modified | [email protected] |
| Jul 8, 2020 | CVE Modified | [email protected] |
| Jul 5, 2020 | CVE Modified | [email protected] |
| May 11, 2020 | CVE Modified | [email protected] |
| May 11, 2020 | CVE Modified | [email protected] |
| Apr 30, 2020 | Modified Analysis | [email protected] |
| Apr 27, 2020 | CVE Modified | [email protected] |
| Apr 27, 2020 | CVE Modified | [email protected] |
| Apr 26, 2020 | CVE Modified | [email protected] |
| Apr 3, 2020 | CVE Modified | [email protected] |
| Apr 1, 2020 | Initial Analysis | [email protected] |