VDB

GHSA-7vjg-5rq8-r4h2

GHSA-7vjg-5rq8-r4h2 PUBLISHED

Record from GitHub Advisory Database · Published May 1, 2022

The parse_str function in PHP 4.x up to 4.4.0 and 5.x up to 5.0.5, when called with only one parameter, allows remote attackers to enable the register_globals directive via inputs that cause a request to be terminated due to the memory_limit setting, which causes PHP to set an internal flag that enables register_globals and allows attackers to exploit vulnerabilities in PHP applications that would otherwise be protected.

Timeline

  • May 1, 2022 CVE Published
  • Apr 9, 2026 Distribution Patch
  • Apr 29, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-7vjg-5rq8-r4h2
vulnetix vdb fixes GHSA-7vjg-5rq8-r4h2

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-7vjg-5rq8-r4h2/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›