CVE-2020-7065
Advisory lineage Upstream: 0 Downstream: 8
Modified
Published: 01 Apr 2020, 03:35
Last modified:17 Sept 2024, 04:25
Vulnerability Summary
Overall Risk (default)
medium
46/100 CVSS Score
8.8 HIGH
v3.1 (nvd)
EPSS Score
4.99% LOW
5% probability -0.03%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
01 Apr 2020, 03:35
Published
Vulnerability first disclosed
17 Sept 2024, 04:25
Last Modified
Vulnerability information updated
Description
In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using mb_strtolower() function with UTF-32LE encoding, certain invalid strings could cause PHP to overwrite stack-allocated buffer. This could lead to memory corruption, crashes and potentially code execution.
CVSS Metrics
- v3.1•HIGH•Score: 7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H
- v3.1•HIGH•Score: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- v2.0•MEDIUM•Score: 6.8AV:N/AC:M/Au:N/C:P/I:P/A:P
EPSS Trends
Current EPSS score: 4.99%• Percentile: 90%
Techniques & Countermeasures
- CWE-787•Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
- CWE-121•Stack-based Buffer Overflow
A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
Affected Systems
- canonical•ubuntu_linux
12.04 | 14.04 | 16.04 | 18.04 | 19.10 | 20.04
- debian•debian_linux
10.0
- Unknown•PHP
≥ 7.3.x, < 7.3.16 | ≥ 7.4.x, < 7.4.4
- Unknown•PHP
≥ 7.3.0, < 7.3.16 | ≥ 7.4.0, < 7.4.4
- tenable•tenable.sc
< 5.19.0
References (8)
- https://usn.ubuntu.com/4330-1/
- https://usn.ubuntu.com/4330-2/
- https://www.debian.org/security/2020/dsa-4719
- https://security.netapp.com/advisory/ntap-20200403-0001/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://bugs.php.net/bug.php?id=79371
- https://www.php.net/ChangeLog-7.php#7.4.4
- https://www.tenable.com/security/tns-2021-14