Lucene search

K
cvelistPSFCVELIST:CVE-2024-7592
HistoryAug 19, 2024 - 7:06 p.m.

CVE-2024-7592 Quadratic complexity parsing cookies with backslashes

2024-08-1919:06:45
CWE-400
PSF
www.cve.org
5
vulnerability
cpython
cookies
backslashes
parser
algorithm
cpu resources

EPSS

0.001

Percentile

44.5%

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.

CNA Affected

[
  {
    "defaultStatus": "unaffected",
    "product": "CPython",
    "repo": "https://github.com/python/cpython",
    "vendor": "Python Software Foundation",
    "versions": [
      {
        "version": "0",
        "lessThan": "3.8.20",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.9.0",
        "lessThan": "3.9.20",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.10.0",
        "lessThan": "3.10.15",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.11.0",
        "lessThan": "3.11.10",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.12.0",
        "lessThan": "3.12.6",
        "status": "affected",
        "versionType": "python"
      },
      {
        "version": "3.13.0a1",
        "lessThan": "3.13.0rc2",
        "status": "affected",
        "versionType": "python"
      }
    ]
  }
]