Skip to main content

Uncontrolled Resource Consumption

CVE-2024-7592

Severity High
Score 7.5/10

Summary

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. This issue affects versions v2.0 through v3.8.19, v3.9.0a1 through v3.9.19, v3.10.0a1 through v3.10.14, v3.11.0a1 through v3.11.9, v3.12.0a1 through v3.12.5, v3.13.0a1 through 3.13.0rc1.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published