CVE Program
CNA-CVE-2020-7067
OOB Read in urldecode()
Details
In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17 and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PHP | php | From 7.2 before 7.2.30 (fixed in 7.2.30) From 7.3 before 7.3.17 (fixed in 7.3.17) From 7.4 before 7.4.5 (fixed in 7.4.5) |
References
- https://www.cve.org/CVERecord?id=CVE-2020-7067
- https://www.debian.org/security/2020/dsa-4717
- https://www.debian.org/security/2020/dsa-4719
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://bugs.php.net/bug.php?id=79465
- https://security.netapp.com/advisory/ntap-20200504-0001/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.tenable.com/security/tns-2021-14