SCA: security update for astro (GHSA-c4pw-33h3-35xw)

medium Tenable Cloud Security Plugin ID 413648

Description

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

- Astro is a web framework for content-driven websites. In affected versions a bug in Astro’s CSRF-
protection middleware allows requests to bypass CSRF checks. When the `security.checkOrigin` configuration
option is set to `true`, Astro middleware will perform a CSRF check. However, a vulnerability exists that
can bypass this security. A semicolon-delimited parameter is allowed after the type in `Content-Type`. Web
browsers will treat a `Content-Type` such as `application/x-www-form-urlencoded; abc` as a `simple
request` and will not perform preflight validation. In this case, CSRF is not blocked as expected.
Additionally, the `Content-Type` header is not required for a request. This issue has been addressed in
version 4.16.17 and all users are advised to upgrade. There are no known workarounds for this
vulnerability. (CVE-2024-56140)

See Also

https://github.com/advisories/GHSA-c4pw-33h3-35xw

Plugin Details

Severity: Medium

ID: 413648

Version: Revision 1.9

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

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2024-56140

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 12/18/2024

Vulnerability Publication Date: 12/18/2024

Reference Information

CVE: CVE-2024-56140

cwe: CWE-352