{"answers":{"affected":"3 open source packages ship an affected version, including starlette. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-30798 in the wild and no public exploit code.","fix":"Upgrade starlette to 0.25.0 or later.","what":"CVE-2023-30798 is a high-severity denial of service vulnerability in Encode Starlette, published on 21 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-30798 and fix it if it is affected.\n\nWhat it is: CVE-2023-30798 is a high-severity denial of service vulnerability in Encode Starlette, published on 21 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-30798 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- starlette (PyPI): affected all versions; fixed in 0.25.0\n- starlette (PyPI): affected all versions; fixed in 0.25.0\n- starlette (PyPI): affected all versions; fixed in 0.25.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-2023-30798/ (Markdown: https://insights.sbomify.com/CVE-2023-30798/index.md)","id":"CVE-2023-30798","markdown":"https://insights.sbomify.com/CVE-2023-30798/index.md","name":"CVE-2023-30798","record":{"aliases":["CLSA-2026-1769040755","DEBIAN-CVE-2023-30798","GHSA-74m5-2c7w-9w3x","PYSEC-2023-48","ROOT-APP-PYPI-CVE-2023-30798","UBUNTU-CVE-2023-30798"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web framework","requires_auth":"none","summary":"An unauthenticated remote attacker can cause denial of service in Starlette by sending excessive form fields or files, leading to memory exhaustion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[{"product":"starlette","vendor":"encode"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"There MultipartParser usage in Encode's Starlette python framework before versions 0.25.0 allows an unauthenticated and remote attacker to specify any number of form fields or files which can cause excessive memory usage resulting in denial of service of the HTTP service.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"MultipartParser DOS with too many fields or files in Starlette Framework","id":"CVE-2023-30798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"denial_of_service","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"MikroTik RouterOS Administrator Privilege Escalation","id":"CVE-2023-30799"},"packages":[{"ecosystem":"PyPI","fixed":["0.25.0"],"introduced":["0"],"last_affected":[],"package":"starlette","purl":null,"source":"GHSA-74m5-2c7w-9w3x"},{"ecosystem":"PyPI","fixed":["0.25.0"],"introduced":["0"],"last_affected":[],"package":"starlette","purl":"pkg:pypi/starlette","source":"GHSA-74m5-2c7w-9w3x"},{"ecosystem":"PyPI","fixed":["0.25.0"],"introduced":["0"],"last_affected":[],"package":"starlette","purl":"pkg:pypi/starlette","source":"PYSEC-2023-48"}],"prev":{"headline":"Insecure Random Generation in Netflix Lemur","id":"CVE-2023-30797"},"products":["Starlette"],"published":"2023-04-21","related":[{"cvss_score":6.5,"headline":"Kludex Starlette HTTP Request/Response Smuggling","id":"CVE-2026-48710","kev_date_added":"2026-09-02","published":"2026-05-26"},{"cvss_score":7.5,"headline":"Starlette: request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS","id":"CVE-2026-54283","kev_date_added":null,"published":"2026-06-22"},{"cvss_score":7.5,"headline":"Starlette: SSRF and NTLM credential theft via UNC paths in StaticFiles on Windows","id":"CVE-2026-48818","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"Starlette has Path Traversal vulnerability in StaticFiles","id":"CVE-2023-29159","kev_date_added":null,"published":"2023-06-01"},{"cvss_score":5.3,"headline":"Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`","id":"CVE-2026-48817","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":3.7,"headline":"Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname","id":"CVE-2026-54282","kev_date_added":null,"published":"2026-06-22"}],"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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-15","vendors":["Encode"]},"summary":"An unauthenticated remote attacker can cause denial of service in Starlette by sending excessive form fields or files, leading to memory exhaustion.","url":"https://insights.sbomify.com/CVE-2023-30798/"}