Skip to content

The init_request_info function in sapi/cgi/cgi_main.c in...

High severity Unreviewed Published May 1, 2022 to the GitHub Advisory Database • Updated Feb 11, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

Description

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

Published by the National Vulnerability Database May 5, 2008
Published to the GitHub Advisory Database May 1, 2022
Last updated Feb 11, 2024

Severity

High

EPSS score

50.646%
(98th percentile)

Weaknesses

CVE ID

CVE-2008-0599

GHSA ID

GHSA-m9m5-q9x5-6877

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.