CVE-2019-11048: 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...
Medium CVSS 5.3
- CVE id
- CVE-2019-11048
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| PHP Runtimes and servers |
>= 7.2.0, < 7.2.31 >= 7.3.0, < 7.3.18 >= 7.4.0, < 7.4.6 |
7.2.31, 7.3.18, 7.4.6 |
How to fix it
Upgrade PHP to the fixed release of the line you run: 7.2.31, 7.3.18, 7.4.6.
php --version
- Install the patched PHP release of your minor line (the php image tag or your OS packages) and restart PHP-FPM.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
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.
References
- CVE-2019-11048 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-11048
- Web: https://bugs.php.net/bug.php?id=78875
- Web: https://bugs.php.net/bug.php?id=78876
- Web: https://lists.debian.org/debian-lts-announce/2020/06/msg00033.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBA3TFZSP3TB5N4G24SO6BI64RJZXE3D/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMDUQ7XFONY3BWTAQQUD3QUGZT6NFZUF/
- Web: https://security.netapp.com/advisory/ntap-20200528-0006/
- Web: https://usn.ubuntu.com/4375-1/
- Web: https://www.debian.org/security/2020/dsa-4717
- Web: https://www.debian.org/security/2020/dsa-4719
- Web: https://www.oracle.com/security-alerts/cpuApr2021.html
- Web: https://www.oracle.com/security-alerts/cpuoct2020.html
- Web: https://www.tenable.com/security/tns-2021-14
- Web: https://bugs.php.net/bug.php?id=78875
- Web: https://bugs.php.net/bug.php?id=78876
- Web: https://lists.debian.org/debian-lts-announce/2020/06/msg00033.html
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OBA3TFZSP3TB5N4G24SO6BI64RJZXE3D/
- Web: https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XMDUQ7XFONY3BWTAQQUD3QUGZT6NFZUF/
- Web: https://security.netapp.com/advisory/ntap-20200528-0006/
- Web: https://usn.ubuntu.com/4375-1/
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.