SCA: security update for starlette (GHSA-f96h-pmfr-66vw)

high Tenable Self-Hosted Container Security Plugin ID 414412

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Starlette is an Asynchronous Server Gateway Interface (ASGI) framework/toolkit. Prior to version 0.40.0,
Starlette treats `multipart/form-data` parts without a `filename` as text form fields and buffers those in
byte strings with no size limit. This allows an attacker to upload arbitrary large form fields and cause
Starlette to both slow down significantly due to excessive memory allocations and copy operations, and
also consume more and more memory until the server starts swapping and grinds to a halt, or the OS
terminates the server process with an OOM error. Uploading multiple such requests in parallel may be
enough to render a service practically unusable, even if reasonable request size limits are enforced by a
reverse proxy in front of Starlette. This Denial of service (DoS) vulnerability affects all applications
built with Starlette (or FastAPI) accepting form requests. Verison 0.40.0 fixes this issue.
(CVE-2024-47874)

See Also

https://github.com/advisories/GHSA-f96h-pmfr-66vw

Plugin Details

Severity: High

ID: 414412

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.96

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2024-47874

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 6.6

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/15/2024

Vulnerability Publication Date: 10/15/2024

Reference Information

CVE: CVE-2024-47874

cwe: CWE-770