SCA: security update for body-parser (GHSA-27r3-jxmh-p828)

high Tenable Cloud Security Plugin ID 477259

Description

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

- body-parser is body parsing middleware for Node.js and Express. In versions before 1.20.9 and in versions
from 2.0.0 before 2.4.0, a single request can crash any application using body-parser with default
options. When a request carries a Content-Encoding such as gzip, body-parser pipes it into a decompression
stream and, after reading the body, leaves that stream with no error listener. A payload of one valid
compressed frame followed by trailing bytes decodes and the application responds normally, but the
trailing bytes then reach the already-finished decoder, which emits an error that is re-thrown as an
uncaught exception and terminates the process. No matching route is required because body parsing runs
before routing, so any endpoint that parses a body is affected. The issue is fixed in body-parser 2.4.0
and 1.20.9, and users should upgrade to one of those versions or later. As a workaround, disable request-
body inflation (set the body-parser inflate option to false) so encoded requests are rejected before any
decompression stream is created. (CVE-2026-111181)

Solution

Update the body-parser library and its related packages to version 1.20.9 or later.

See Also

https://github.com/advisories/GHSA-27r3-jxmh-p828

Plugin Details

Severity: High

ID: 477259

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/24/2026

Updated: 10/24/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

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-2026-111181

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/23/2026

Vulnerability Publication Date: 10/22/2026

Reference Information

CVE: CVE-2026-111181

cwe: CWE-248