Read the docs
TI-2021-06117 Aliases CVE-2021-23425GHSA-38fc-wpqx-33j7

Regular expression denial of service (ReDoS) in trim-off-newlines

Priority LOW 28CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-400.

Summary

All versions of package trim-off-newlines are vulnerable to Regular Expression Denial of Service (ReDoS) via string processing.

Why it matters now

EPSS 0.01927 80th percentileScored 2026-11-07
Fix Fixed trim-off-newlines (npm): 1.0.3Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—trim-off-newlinesall versions—No fix listedCNA
—trim-off-newlines (npm)before 1.0.31.0.3Patch availableGHSA-38fc-wpqx-33j7
  • trim-off-newlines Vendor— Affected all versions Fixed in — No fix listed CNA
  • trim-off-newlines (npm) Vendor— Affected before 1.0.3 Fixed in 1.0.3 Patch available GHSA-38fc-wpqx-33j7

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:trim-off-newlines_project:trim-off-newlines:*:*:*:*:*:node.js:*:*before 1.0.3VulnerableTrim-off-newlines Project
  • cpe:2.3:a:trim-off-newlines_project:trim-off-newlines:*:*:*:*:*:node.js:*:* Versions before 1.0.3 Vulnerable ·Trim-off-newlines Project

Remediation

  • Fix · GHSA-38fc-wpqx-33j7 trim-off-newlines (npm) Fixed in 1.0.3 Advisory →

Red Hat 1 advisory

  • RHSA-2022:4711 Released 2022-05-26 · Red Hat rating Moderate
    RHV Manager (ovirt-engine) [ovirt-4.5.0] security update
    • RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-engine-4.5.0.7-0.9.el8ev, ovirt-engine-backend-4.5.0.7-0.9.el8ev, ovirt-engine-dbscripts-4.5.0.7-0.9.el8ev +19

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4Fixed RHSA-2022:4711
Not affected: 3 products
  • RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4
  • Red Hat Directory Server 11
  • Red Hat Virtualization 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-23425
  2. 2026-10-03 Alias added: GHSA-38fc-wpqx-33j7

References

Sources