Lucene search

K
githubGitHub Advisory DatabaseGHSA-P24M-863F-FM6Q
HistoryFeb 15, 2023 - 5:42 p.m.

Denial of service vulnerability when parsing multipart request body

2023-02-1517:42:42
CWE-400
CWE-770
GitHub Advisory Database
github.com
82
remote attack
cpu exhaustion
ram consumption
dos vulnerability
request handler

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

48.3%

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 configurations

Vulners
Node
starliteprojectstarliteRange<1.51.2
VendorProductVersionCPE
starliteprojectstarlite*cpe:2.3:a:starliteproject:starlite:*:*:*:*:*:*:*:*

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS

0.001

Percentile

48.3%

Related for GHSA-P24M-863F-FM6Q