NULL pointer dereference in PHP
CVE-2020-7062
In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.036, 89.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- PHP
- PHP Group — versions 7.3.x, 7.4.x, 7.2.x
- Canonical Ubuntu Linux — versions 12.04, 14.04, 16.04
- Debian Linux — versions 8.0, 9.0, 10.0
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- bugs.php.net/bug.php (Exploit, Vendor Advisory)
- openSUSE-SU-2020:0341 (vendor-advisory, Mailing List, Third Party Advisory)
- GLSA-202003-57 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20200326 [SECURITY] [DLA 2160-1] php5 security update (mailing-list, Mailing List, Third Party Advisory)
- USN-4330-1 (vendor-advisory, Third Party Advisory)
- DSA-4717 (vendor-advisory, Third Party Advisory)
- DSA-4719 (vendor-advisory, Third Party Advisory)
- www.tenable.com/security/tns-2021-14 (Third Party Advisory)