High

Denial of service vulnerability when parsing multipart request body

  • Disclosed: 15.02.2023
  • Updated: 11.10.2026 12:19

Summary

The request body parsing in starlite allows a potentially unauthenticated attacker to consume a large amount of CPU time and RAM.

Details

The multipart body parser processes an unlimited number of file parts. The multipart body parser processes an unlimited number of field parts.

Impact

This is a remote, potentially unauthenticated Denial of Service vulnerability.

This vulnerability affects applications with a request handler that accepts a Body(media_type=RequestEncodingType.MULTI_PART).

The large amount of CPU time required for processing requests can block all available worker processes and significantly delay or slow down the processing of legitimate user requests. The large amount of RAM accumulated while processing requests can lead to Out-Of-Memory kills. Complete DoS is achievable by sending many concurrent multipart requests in a loop.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) starlite < 1.51.2 1.51.2

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness (CWE)
CWE-400, CWE-770
Platform
Python (PyPI)
Package
starlite
Disclosed
15.02.2023
Updated
11.10.2026 12:19

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2023-49 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-p24m-863f-fm6q - CC BY 4.0

Vulnerability history: starlite

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
02.2023 11.2024
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 3

Disclosures per year

  1. 2023: 1
  2. 2024: 2
  3. 2025: 0
  4. 2026: 0
  1. High · 7.5 CVE-2024-52581 <= 1.51.16 no fix
  2. High · 8.2 CVE-2024-32982 >= 1.37.0, < 1.51.16 1.51.16
  3. Denial of service vulnerability when parsing multipart request body this entry
    High · 7.5 CVE-2023-25578 < 1.51.2 1.51.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.