Improper Input Validation Affecting php package, versions [,5.2.15)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.49% (77th 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335352
  • published12 Jan 2022
  • disclosed2 Feb 2011
  • creditUnknown

Introduced: 2 Feb 2011

CVE-2011-0752  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.15 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The extract function in PHP before 5.2.15 does not prevent use of the EXTR_OVERWRITE parameter to overwrite (1) the GLOBALS superglobal array and (2) the this variable, which allows context-dependent attackers to bypass intended access restrictions by modifying data structures that were not intended to depend on external input, a related issue to CVE-2005-2691 and CVE-2006-3758.

CVSS Scores

version 3.1