VDB
GHSA-m9m5-q9x5-6877
GHSA-m9m5-q9x5-6877
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Record from GitHub Advisory Database · Published May 1, 2022
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.
Risk scores
CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Timeline
- May 1, 2022 CVE Published
- Apr 30, 2026 Distribution Patch
- Apr 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-m9m5-q9x5-6877
vulnetix vdb fixes GHSA-m9m5-q9x5-6877
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-m9m5-q9x5-6877/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2008-0599 advisory
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html url
- https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html url
- http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.12&r2=1.267.2.15.2.50.2.13&diff_format=u url
- http://secunia.com/advisories/30616 url
- http://secunia.com/advisories/31326 url
- http://secunia.com/advisories/32746 url
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0176 url
- http://www.securityfocus.com/archive/1/492535/100/0/threaded url
- http://www.vupen.com/english/advisories/2008/1810/references url
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42137 url
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5510 url
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01476437 url
- http://marc.info/?l=bugtraq&m=124654546101607&w=2 url
- http://marc.info/?l=bugtraq&m=125631037611762&w=2 url
- http://secunia.com/advisories/30048 url
- http://secunia.com/advisories/30083 url
- http://secunia.com/advisories/30757 url
- http://secunia.com/advisories/31200 url
- http://www.kb.cert.org/vuls/id/147027 url
…and 17 more