VDB
GHSA-3p37-hv77-x3rp
GHSA-3p37-hv77-x3rp
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Record from GitHub Advisory Database · Published May 14, 2022
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, 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 execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
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 14, 2022 CVE Published
- Apr 9, 2026 Security Advisory
- Apr 30, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-3p37-hv77-x3rp
vulnetix vdb fixes GHSA-3p37-hv77-x3rp
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-3p37-hv77-x3rp/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKGTQUOA2NTZ3RXN22CSAUJPIRUYRB4B url
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html url
- http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html url
- http://marc.info/?l=bugtraq&m=134012830914727&w=2 url
- http://rhn.redhat.com/errata/RHSA-2012-0546.html url
- http://rhn.redhat.com/errata/RHSA-2012-0569.html url
- http://rhn.redhat.com/errata/RHSA-2012-0570.html url
- http://secunia.com/advisories/49087 url
- http://support.apple.com/kb/HT5501 url
- http://www.debian.org/security/2012/dsa-2465 url
- http://www.openwall.com/lists/oss-security/2024/06/07/1 url
- http://www.php.net/archive/2012.php#id2012-05-03-1 url
- https://nvd.nist.gov/vuln/detail/CVE-2012-1823 advisory
- https://bugs.php.net/patch-display.php?bug_id=61910&patch=cgi.diff&revision=1335984315&display=1 url
- http://rhn.redhat.com/errata/RHSA-2012-0547.html url
- http://secunia.com/advisories/49014 url
- http://secunia.com/advisories/49085 url
- http://www.kb.cert.org/vuls/id/520827 url
- http://www.kb.cert.org/vuls/id/673343 url
…and 12 more