Denial of Service (DoS) Affecting php package, versions [,5.3.6)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
13.51% (96th 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 IDSNYK-UNMANAGED-PHP-2335350
  • published12 Jan 2022
  • disclosed20 Mar 2011
  • creditUnknown

Introduced: 20 Mar 2011

CVE-2011-0421  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade php to version 5.3.6 or higher.

Overview

Affected versions of this package are vulnerable to Denial of Service (DoS). The _zip_name_locate function in zip_name_locate.c in the Zip extension in PHP before 5.3.6 does not properly handle a ZIPARCHIVE::FL_UNCHANGED argument, which might allow context-dependent attackers to cause a denial of service (NULL pointer dereference) via an empty ZIP archive that is processed with a (1) locateName or (2) statName operation.

CVSS Base Scores

version 3.1