CVE-2020-7062

HIGHCVSS 7.5/10EPSS 3.51%

Last modified

CVE-2020-7062 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 3.51% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
7.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
3.51%

87.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
PhpPhp>= 7.2.0, <= 7.2.27
PhpPhp>= 7.3.0, <= 7.3.14
PhpPhp>= 7.4.0, <= 7.4.2
OpensuseLeap15.1
DebianDebian Linux8.0
DebianDebian Linux9.0
DebianDebian Linux10.0
CanonicalUbuntu Linux12.04
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
CanonicalUbuntu Linux19.10

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2020-7062?
CVE-2020-7062 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 3.51% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7062?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-7062?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST