CVE Program
CNA-CVE-2019-11048
Temporary files are not cleaned after OOM when parsing HTTP request data
Details
In PHP versions 7.2.x below 7.2.31, 7.3.x below 7.3.18 and 7.4.x below 7.4.6, when HTTP file uploads are allowed, supplying overly long filenames or field names could lead PHP engine to try to allocate oversized memory storage, hit the memory limit and stop processing the request, without cleaning up temporary files created by upload request. This potentially could lead to accumulation of uncleaned temporary files exhausting the disk space on the target server.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PHP | php | From 7.3 before 7.3.18 (fixed in 7.3.18) From 7.4 before 7.4.6 (fixed in 7.4.6) From 7.2 before 7.2.31 (fixed in 7.2.31) |
References
- https://www.cve.org/CVERecord?id=CVE-2019-11048
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBA3TFZSP3TB5N4G24SO6BI64RJZXE3D/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMDUQ7XFONY3BWTAQQUD3QUGZT6NFZUF/
- https://usn.ubuntu.com/4375-1/
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00045.html
- https://lists.debian.org/debian-lts-announce/2020/06/msg00033.html
- 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=78875
- https://bugs.php.net/bug.php?id=78876
- https://security.netapp.com/advisory/ntap-20200528-0006/
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.tenable.com/security/tns-2021-14