Vulnerabilities in pkg:pypi/quivr-core

PACKAGE
Advisory Identifier: GHSA-m76r-xqqj-mqmv
Advisory Summary

CVE-2024-9229 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Quivr core libraries in the PyPI ecosystem. The issue involves quivr unauthenticated denial of service (dos) via multipart boundary. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/quivr-core

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/quivr-core. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-m76r-xqqj-mqmv CVE-2024-9229 HIGH Quivr unauthenticated Denial of Service (DoS) via Multipart Boundary

CVE-2024-9229 at a Glance

CVE Identifier CVE-2024-9229
GHSA Identifier GHSA-m76r-xqqj-mqmv
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Quivr core
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2024-9229

To remediate this vulnerability, upgrade all affected Quivr core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

quivr-core fixed: Latest secure release
pip install quivr-core>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show quivr-core

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2024-9229, inspect your installed packages using pip:

pip show quivr-core

Analyze the terminal output to locate any version of Quivr core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show quivr-core command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Quivr core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A Denial of Service (DoS) vulnerability in the file upload feature of stangirard/quivr v0.0.298 allows unauthenticated attackers to cause excessive resource consumption by appending characters to the end of a multipart boundary in an HTTP request. This leads to the server continuously processing each character, rendering the service unavailable and impacting all users.

CVE-2024-9229 Affected Quivr core Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
quivr-core
PyPI
≤ 0.0.14

References

Frequently Asked Questions

What is CVE-2024-9229?
CVE-2024-9229 is a security vulnerability in Quivr core involving Quivr unauthenticated Denial of Service (DoS) via Multipart Boundary under CWE-400: Uncontrolled Resource Consumption.
Which Quivr core versions are affected?
Affected versions include releases prior to current release patches across affected packages: quivr-core.
What version fixes CVE-2024-9229?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is quivr-core affected?
Yes, quivr-core is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-9229?
CVE-2024-9229 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2024-9229?
CVE-2024-9229 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check PyPI dependencies for CVE-2024-9229?
Run the dependency tree command: 'pip show quivr-core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m76r-xqqj-mqmv",
  "modified" : "2025-03-21T03:26:29Z",
  "published" : "2025-03-20T12:32:50Z",
  "aliases" : [ "CVE-2024-9229" ],
  "summary" : "Quivr unauthenticated Denial of Service (DoS) via Multipart Boundary",
  "details" : "A Denial of Service (DoS) vulnerability in the file upload feature of stangirard/quivr v0.0.298 allows unauthenticated attackers to cause excessive resource consumption by appending characters to the end of a multipart boundary in an HTTP request. This leads to the server continuously processing each character, rendering the service unavailable and impacting all users.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "quivr-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.14"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9229"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/QuivrHQ/quivr"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/QuivrHQ/quivr/blob/6b07a63e4e969d003710d6f6c6b9df36fd6ea803/backend/api/quivr_api/modules/upload/service/upload_file.py#L68-L101"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/946a412d-422f-4623-bb1d-d2646ad23dfd"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-21T03:26:29Z",
    "nvd_published_at" : "2025-03-20T10:15:47Z"
  }
}