Advisory

PYSEC-2023-49

Also known as: CVE-2023-25578, GHSA-p24m-863f-fm6q

Summary

The record has no summary.

Details

Starlite is an Asynchronous Server Gateway Interface (ASGI) framework. Prior to version 1.5.2, the request body parsing in starlite allows a potentially unauthenticated attacker to consume a large amount of CPU time and RAM. The multipart body parser processes an unlimited number of file parts and an unlimited number of field parts. 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. Version 1.51.2 contains a patch for this issue.

Severity

Not rated by the source.

Dates

Published
2023-02-15 15:15 UTC
Modified
2023-11-08 04:11 UTC

Affected packages and fixes

starlite

PyPI · All systems

Affected

  • introduced 0, fixed 1.51.2 (ecosystem)

Fixed versions

1.51.2

Fix

  • Fixed version 1.51.2
    pip install --upgrade starlite==1.51.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences