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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-2160-1 php5 security update
Debian DSA Debian DSA DSA-4717-1 php7.0 security update
Debian DSA Debian DSA DSA-4719-1 php7.3 security update
EUVD EUVD EUVD-2020-28196 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.
Ubuntu USN Ubuntu USN USN-4330-1 PHP vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

Disable file uploading, file upload tracking or enable session.upload_progress.cleanup.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-16T22:24:49.661Z

Reserved: 2020-01-15T00:00:00

Link: CVE-2020-7062

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-02-27T21:15:19.037

Modified: 2024-11-21T05:36:35.703

Link: CVE-2020-7062

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-02-04T00:00:00Z

Links: CVE-2020-7062 - Bugzilla

cve-icon OpenCVE Enrichment

No data.