CVE-2020-7070 Details
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 PHP is processing incoming HTTP cookie values, the cookie names are url-decoded. This may lead to cookies with prefixes like __Host confused with cookies that decode to such prefix, thus leading to an attacker being able to forge cookie which is supposed to be secure. See also CVE-2020-8184 for more information.
A vulnerability exists in PHP versions 7.2.x prior to 7.2.34, 7.3.x prior to 7.3.23, and 7.4.x prior to 7.4.11. When processing incoming HTTP cookie values, PHP URL-decodes cookie names. This behavior can create confusion between cookies with certain prefixes, such as '__Host-', and those that decode to resemble such prefixes. As a result, an attacker could potentially forge a cookie that is meant to be secure. This vulnerability is related to CVE-2020-8184.
Users can upgrade to PHP versions 7.2.34, 7.3.23, or 7.4.11. Instructions for upgrading PHP can be found in the respective release notes for each version.
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 |
|---|---|---|
| CWE-565 | Reliance on Cookies without Validation and Integrity Checking | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| php php | >= 7.2.0, < 7.2.34 >= 7.3.0, < 7.3.23 >= 7.4.0, < 7.4.11 |
CPE
Remediation
| |
| fedoraproject fedora | 31 32 33 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 |
CPE
Remediation
| |
| opensuse leap | 15.1 15.2 |
CPE
Remediation
| |
| canonical ubuntu linux | 12.04 14.04 16.04 18.04 20.04 |
CPE
Remediation
| |
| netapp clustered data ontap | All versions |
CPE
Remediation
| |
| tenable tenable.sc | < 5.19.0 |
CPE
Remediation
| |
Change History
19 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] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Dec 2, 2021 | Modified Analysis | [email protected] |
| Oct 20, 2021 | CVE Modified | [email protected] |
| Jul 22, 2021 | CVE Modified | [email protected] |
| Feb 25, 2021 | Modified Analysis | [email protected] |
| Feb 18, 2021 | CVE Modified | [email protected] |
| Dec 23, 2020 | CVE Modified | [email protected] |
| Nov 2, 2020 | CVE Modified | [email protected] |
| Oct 20, 2020 | CVE Modified | [email protected] |
| Oct 20, 2020 | CVE Modified | [email protected] |
| Oct 16, 2020 | CVE Modified | [email protected] |
| Oct 14, 2020 | Initial Analysis | [email protected] |
| Oct 7, 2020 | CVE Modified | [email protected] |
| Oct 7, 2020 | CVE Modified | [email protected] |
| Oct 7, 2020 | CVE Modified | [email protected] |
| Oct 4, 2020 | CVE Modified | [email protected] |