SCA: security update for fastify (GHSA-573f-x89g-hqp9)

medium Tenable Self-Hosted Container Security Plugin ID 438441

Description

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

- Fastify incorrectly accepts malformed `Content-Type` headers containing trailing characters after the
subtype token, in violation of RFC 9110 §8.3.1(https://httpwg.org/specs/rfc9110.html#field.content-type).
For example, a request sent with Content-Type: application/json garbage passes validation and is processed
normally, rather than being rejected with 415 Unsupported Media Type. When regex-based content-type
parsers are in use (a documented Fastify feature), the malformed value is matched against registered
parsers using the full string including the trailing garbage. This means a request with an invalid
content-type may be routed to and processed by a parser it should never have reached. Impact: An attacker
can send requests with RFC-invalid Content-Type headers that bypass validity checks, reach content-type
parser matching, and be processed by the server. Requests that should be rejected at the validation stage
are instead handled as if the content-type were valid. Workarounds: Deploy a WAF rule to protect against
this Fix: The fix is available starting with v5.8.1. (CVE-2026-3419)

See Also

https://github.com/advisories/GHSA-573f-x89g-hqp9

Plugin Details

Severity: Medium

ID: 438441

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/6/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2026-3419

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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: 3/5/2026

Vulnerability Publication Date: 3/5/2026

Reference Information

CVE: CVE-2026-3419

cwe: CWE-185