Use After Free Affecting php package, versions [7.2.0,7.2.33)[7.3.0,7.3.21)[7.4.0,7.4.9)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335663
  • published12 Jan 2022
  • disclosed9 Sept 2020
  • creditUnknown

Introduced: 9 Sep 2020

CVE-2020-7068  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade php to version 7.2.33, 7.3.21, 7.4.9 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. In PHP versions 7.2.x below 7.2.33, 7.3.x below 7.3.21 and 7.4.x below 7.4.9, while processing PHAR files using phar extension, phar_parse_zipfile could be tricked into accessing freed memory, which could lead to a crash or information disclosure.

References

CVSS Scores

version 3.1