VDB

CVE-2024-7592

CVE-2024-7592 PUBLISHED CVSS 7.5 HIGH

Quadratic complexity parsing cookies with backslashes

Reported by psf · Published August 19, 2024

There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
pythonAmazon Linux2.7.18-1.amzn2.0.11
python3Amazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.12
python3-testAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.12
python-3.9Chainguard3.9.20-r0
python3-develAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.12
python3-idleAmazon Linux3.9.20-1.amzn2023.0.2
python-minBitnami3.12.6, 3.11.10, 3.10.15, 3.9.20, 3.8.20
nodejs-20Wolfi20.19.5-r0
python3.11-develAmazon Linux3.11.6-1.amzn2023.0.6
python3-libsAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.12
py3-tornadoAlpine6.4.2-r0
python3.11-idleAmazon Linux3.11.6-1.amzn2023.0.6

49 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Python Software FoundationCPython0, 3.9.0, 3.10.0
amazon:2python0
amazon:2python30
amazon:2023python3-test0
chainguardpython-3.90
amazon:2023python3-devel0
amazon:2023python3-idle0
wolfinodejs-200
amazon:2023python3.11-devel0
amazon:2023python3-libs0
amazon:2python3-devel0
alpinepy3-tornado0
amazon:2023python3.11-idle0
amazon:2tkinter0
amazon:2023python-unversioned-command0
chainguardnodejs-180
amazon:2023python3.110
wolfipython-3.100
amazon:2023python3.11-tkinter0
amazon:2python-test0

…and 29 more

Timeline

  • Aug 17, 2024 Fix PR Merged
  • Aug 19, 2024 CVE Published
  • Aug 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (12 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (26 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (11 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-7592
vulnetix vdb fixes CVE-2024-7592

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/CVE-2024-7592/fixes/registry"

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

References

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