CVE-2020-7066 vulnerability in PHP and Other Products
Published on April 1, 2020
get_headers() silently truncates after a null byte
Vulnerability Analysis
CVE-2020-7066 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a small impact on integrity and availability.
Weakness Type
Improper Null Termination
The software does not terminate or incorrectly terminates a string or array with a null character or equivalent terminator. Null termination errors frequently occur in two different ways. An off-by-one error could cause a null to be written out of bounds, leading to an overflow. Or, a program could use a strncpy() function call incorrectly, which prevents a null terminator from being added at all. Other scenarios are possible.
Products Associated with CVE-2020-7066
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2020-7066 are published in these products:
Affected Versions
PHP Group PHP:- Version 7.2.x below 7.2.29 is affected.
- Version 7.3.x below 7.3.16 is affected.
- Version 7.4.x below 7.4.4 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.