Security readout for executives and security teams
Plain-English summary
CVE-2021-23425 affects trim-off-newlines, a JavaScript package, with Regular Expression Denial of Service during string processing. If an application passes attacker-controlled strings to it, request handling may slow or stall, affecting availability. The source bundle rates it medium and does not show CISA KEV listing.
Executive priority
Handle during normal vulnerability management unless the dependency is reachable from public, unauthenticated input. Escalate for customer-facing services where availability degradation would affect revenue or operations.
Technical view
The CVE describes all versions of trim-off-newlines as vulnerable to ReDoS via string processing. The CVSS 3.1 score is 5.3 with low availability impact and no confidentiality or integrity impact. Practical exposure depends on whether untrusted input reaches the package path.
Likely exposure
Most exposure is indirect through npm or WebJars dependency chains. Internet-facing risk exists only where external input is processed by trim-off-newlines in a reachable application workflow.
Exploitation context
The source bundle does not cite active exploitation, public weaponization, or CISA KEV inclusion. Treat this as a dependency-driven availability risk, not confirmed in-the-wild exploitation.
Researcher notes
Evidence is limited to advisory metadata and referenced package sources. The bundle states all versions are affected but does not name a fixed release. Validate reachability before assigning business-critical urgency.
Mitigation direction
- Inventory direct and transitive use of trim-off-newlines.
- Check Snyk, CVE, and upstream package guidance for fixed or replacement versions.
- Prioritize internet-facing services that process untrusted text through this dependency.
- If no fixed version exists, evaluate dependency replacement or removal.
- Apply input size limits where untrusted strings enter affected workflows.
Validation and detection
- Confirm whether trim-off-newlines appears in package lockfiles or WebJars dependencies.
- Identify reachable code paths that pass user-controlled strings to the package.
- Review production services for externally exposed text-processing endpoints.
- Verify advisory status before assuming a patch is available.
- Track remediation evidence in dependency management records.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23425 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.3 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P3.91.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.3MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-TRIMOFFNEWLINES-1296850CVE reference · x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1567197CVE reference · x_refsource_MISC
- https://github.com/stevemao/trim-off-newlines/blob/master/index.js%23L6CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
