{"answers":{"affected":"3 open source packages ship an affected version, including zenml. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9340 exists.","fix":"Upgrade zenml to 0.68.0 or later.","what":"CVE-2024-9340 is a high-severity denial of service vulnerability in zenml-io/zenml, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-9340 and fix it if it is affected.\n\nWhat it is: CVE-2024-9340 is a high-severity denial of service vulnerability in zenml-io/zenml, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-9340 exists.\n\nAffected packages and fixed versions:\n- zenml (PyPI): affected all versions; fixed in 0.68.0\n- zenml (PyPI): affected all versions; fixed in 0.68.0\n- zenml (PyPI): affected all versions; fixed in 0.68.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-9340/ (Markdown: https://insights.sbomify.com/CVE-2024-9340/index.md)","id":"CVE-2024-9340","markdown":"https://insights.sbomify.com/CVE-2024-9340/index.md","name":"CVE-2024-9340","record":{"aliases":["GHSA-6gmf-2369-c76c","PYSEC-2025-57"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ZenML MLOps platform","requires_auth":"none","summary":"Unauthenticated attackers can cause a denial of service by sending malformed multipart requests that trigger an infinite loop in ZenML.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"zenml","vendor":"zenml"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"description":"A Denial of Service (DoS) vulnerability in zenml-io/zenml version 0.66.0 allows unauthenticated attackers to cause excessive resource consumption by sending malformed multipart requests with arbitrary characters appended to the end of multipart boundaries. This flaw in the multipart request boundary processing mechanism leads to an infinite loop, resulting in a complete denial of service for all users. Affected endpoints include `/api/v1/login` and `/api/v1/device_authorization`.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Denial of Service (DoS) via Multipart Boundary in zenml-io/zenml","id":"CVE-2024-9340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Podman: buildah: cri-o: fips crypto-policy directory mounting issue in containers/common go library","id":"CVE-2024-9341"},"packages":[{"ecosystem":"PyPI","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"zenml","purl":null,"source":"GHSA-6gmf-2369-c76c"},{"ecosystem":"PyPI","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"GHSA-6gmf-2369-c76c"},{"ecosystem":"PyPI","fixed":["0.68.0"],"introduced":["0"],"last_affected":[],"package":"zenml","purl":"pkg:pypi/zenml","source":"PYSEC-2025-57"}],"prev":{"headline":"Information Disclosure in E-Kent's Pallium Vehicle Tracking","id":"CVE-2024-9334"},"products":["zenml-io/zenml"],"published":"2025-03-20","related":[{"cvss_score":9.9,"headline":"Directory Traversal in zenml-io/zenml","id":"CVE-2024-2083","kev_date_added":null,"published":"2024-04-16"},{"cvss_score":8.8,"headline":"Code injection in n/a","id":"CVE-2024-28424","kev_date_added":null,"published":"2024-03-14"},{"cvss_score":8.8,"headline":"ZenML Server Remote Privilege Escalation Vulnerability","id":"CVE-2024-25723","kev_date_added":null,"published":"2024-02-27"},{"cvss_score":6.5,"headline":"Improper Authorization in zenml-io/zenml","id":"CVE-2024-2035","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":6.3,"headline":"Path Traversal in zenml-io/zenml","id":"CVE-2025-8406","kev_date_added":null,"published":"2025-10-05"},{"cvss_score":5.4,"headline":"Lack of login attempt rate-limiting in zenml-io/zenml","id":"CVE-2024-4311","kev_date_added":null,"published":"2024-11-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-15","vendors":["zenml-io"]},"summary":"Unauthenticated attackers can cause a denial of service by sending malformed multipart requests that trigger an infinite loop in ZenML.","url":"https://insights.sbomify.com/CVE-2024-9340/"}