GHSA-gjrg-p28q-p9w2
Record from GitHub Advisory Database · Published May 14, 2022
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Risk scores
Timeline
- May 14, 2022 CVE Published
- Apr 9, 2026 Distribution Patch (3 in total, the first dated here)
- Apr 30, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-gjrg-p28q-p9w2
vulnetix vdb fixes GHSA-gjrg-p28q-p9w2
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-gjrg-p28q-p9w2/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-2012-2336 advisory
- https://access.redhat.com/errata/RHSA-2012:1046 url
- https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862 url
- http://secunia.com/advisories/49014 url
- http://www.php.net/ChangeLog-5.php#5.4.3 url
- https://access.redhat.com/errata/RHSA-2012:1047 url
- https://bugs.php.net/bug.php?id=61910 url
- https://bugs.php.net/patch-display.php?bug_id=61910&patch=CVE-2012-1823.patch&revision=1336251592&display=1 url
- http://www.php.net/archive/2012.php#id2012-05-08-1 url
- https://access.redhat.com/errata/RHSA-2012:1045 url
- https://access.redhat.com/security/cve/CVE-2012-2336 url
- https://bugzilla.redhat.com/show_bug.cgi?id=820708 url
- http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html url
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html url