zurichat / zc_messaging

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2024-24762 (High) detected in python-multipart-0.0.5.tar.gz

mend-bolt-for-github opened this issue · comments

CVE-2024-24762 - High Severity Vulnerability

Vulnerable Library - python-multipart-0.0.5.tar.gz

A streaming multipart parser for Python

Library home page: https://files.pythonhosted.org/packages/46/40/a933ac570bf7aad12a298fc53458115cc74053474a72fbb8201d7dc06d3d/python-multipart-0.0.5.tar.gz

Path to dependency file: /backend/requirements.txt

Path to vulnerable library: /backend/requirements.txt

Dependency Hierarchy:

  • python-multipart-0.0.5.tar.gz (Vulnerable Library)

Found in base branch: dev

Vulnerability Details

python-multipart is a streaming multipart parser for Python. When using form data, python-multipart uses a Regular Expression to parse the HTTP Content-Type header, including options. An attacker could send a custom-made Content-Type option that is very difficult for the RegEx to process, consuming CPU resources and stalling indefinitely (minutes or more) while holding the main event loop. This means that process can't handle any more requests, leading to regular expression denial of service. This vulnerability has been patched in version 0.0.7.

Publish Date: 2024-02-05

URL: CVE-2024-24762

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-24762

Release Date: 2024-02-05

Fix Resolution: 0.0.7


Step up your Open Source Security Game with Mend here