Vulnerability · Published Apr 21, 2023 · Assigned by VulnCheck

CVE-2023-30798MultipartParser DOS with too many fields or files in Starlette Framework

High 7.5

In plain English

A high-severity uncontrolled resource consumption in Starlette from Encode. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.3%top 29.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12starlette0.25.0-1DEBIAN-CVE-2023-30798
Debian:13starlette0.25.0-1DEBIAN-CVE-2023-30798
Debian:14starlette0.25.0-1DEBIAN-CVE-2023-30798
PyPIstarlette0.25.0GHSA-74m5-2c7w-9w3x
PyPIstarlette0.25.0PYSEC-2023-48
Ubuntu:22.04:LTSstarletteno fix listedUBUNTU-CVE-2023-30798

Affected products (as reported)

VendorProductVersions
Encode Starlette 0 – before 0.25.0

Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References