SCA: security update for trim-newlines (GHSA-7p7h-4mm5-852v)

high Tenable Self-Hosted Container Security Plugin ID 412162

Description

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

- The trim-newlines package before 3.0.1 and 4.x before 4.0.1 for Node.js has an issue related to regular
expression denial-of-service (ReDoS) for the .end() method. (CVE-2021-33623)

See Also

https://github.com/advisories/GHSA-7p7h-4mm5-852v

Plugin Details

Severity: High

ID: 412162

Version: Revision 1.4

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: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

CVSS Score Source: CVE-2021-33623

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: 6/7/2021

Vulnerability Publication Date: 5/28/2021

Reference Information

CVE: CVE-2021-33623

cwe: CWE-400