ghsa-q34m-jh98-gwm2
Vulnerability from github
Published
2024-10-25 19:44
Modified
2025-01-03 12:30
Summary
Werkzeug possible resource exhaustion when parsing file data in forms
Details

Applications using Werkzeug to parse multipart/form-data requests are vulnerable to resource exhaustion. A specially crafted form body can bypass the Request.max_form_memory_size setting.

The Request.max_content_length setting, as well as resource limits provided by deployment software and platforms, are also available to limit the resources used during a request. This vulnerability does not affect those settings. All three types of limits should be considered and set appropriately when deploying an application.

Show details on source website


{
   affected: [
      {
         database_specific: {
            last_known_affected_version_range: "<= 3.0.5",
         },
         package: {
            ecosystem: "PyPI",
            name: "Werkzeug",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "3.0.6",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
      {
         package: {
            ecosystem: "PyPI",
            name: "Quart",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "0.20.0",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2024-49767",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-400",
      ],
      github_reviewed: true,
      github_reviewed_at: "2024-10-25T19:44:43Z",
      nvd_published_at: "2024-10-25T20:15:04Z",
      severity: "MODERATE",
   },
   details: "Applications using Werkzeug to parse `multipart/form-data` requests are vulnerable to resource exhaustion. A specially crafted form body can bypass the `Request.max_form_memory_size` setting.\n\n\nThe `Request.max_content_length` setting, as well as resource limits provided by deployment software and platforms, are also available to limit the resources used during a request. This vulnerability does not affect those settings. All three types of limits should be considered and set appropriately when deploying an application.",
   id: "GHSA-q34m-jh98-gwm2",
   modified: "2025-01-03T12:30:30Z",
   published: "2024-10-25T19:44:43Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/pallets/werkzeug/security/advisories/GHSA-q34m-jh98-gwm2",
      },
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2024-49767",
      },
      {
         type: "WEB",
         url: "https://github.com/pallets/quart/commit/5e78c4169b8eb66b91ead3e62d44721b9e1644ee",
      },
      {
         type: "WEB",
         url: "https://github.com/pallets/quart/commit/abb04a512496206de279225340ed022852fbf51f",
      },
      {
         type: "WEB",
         url: "https://github.com/pallets/werkzeug/commit/50cfeebcb0727e18cc52ffbeb125f4a66551179b",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/pallets/werkzeug",
      },
      {
         type: "WEB",
         url: "https://github.com/pallets/werkzeug/releases/tag/3.0.6",
      },
      {
         type: "WEB",
         url: "https://security.netapp.com/advisory/ntap-20250103-0007",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
         type: "CVSS_V3",
      },
      {
         score: "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
         type: "CVSS_V4",
      },
   ],
   summary: "Werkzeug possible resource exhaustion when parsing file data in forms",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.