Arbitrary Code Execution Affecting php package, versions [,5.2.6)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
10.92% (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-2335374
  • published12 Jan 2022
  • disclosed5 May 2008
  • creditUnknown

Introduced: 5 May 2008

CVE-2008-0599  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade php to version 5.2.6 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. The init_request_info function in sapi/cgi/cgi_main.c in PHP before 5.2.6 does not properly consider operator precedence when calculating the length of PATH_TRANSLATED, which might allow remote attackers to execute arbitrary code via a crafted URI.

References

CVSS Base Scores

version 3.1