CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 2.9% estimated probability of exploitation activity in the next 30 days. Fixed in trim-newlines 3.0.1, 4.0.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Htrim-newlines (npm): fixed in 3.0.1, 4.0.1Explain CVE-2021-33623 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-33623?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-33623?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-33623 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| trim-newlines_project:trim-newlines | before 3.0.1 |
| trim-newlines_project:trim-newlines | from 4.0.0 before 4.0.1 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-7p7h-4mm5-852v | npm | trim-newlines | <3.0.1 | 3.0.1 |
| GHSA-7p7h-4mm5-852v | npm | trim-newlines | >=4.0.0 <4.0.1 | 4.0.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | node-trim-newlines | 1.0.0-1+deb10u1 | DLA-3247-1 |
| Debian | 12, 13, 14 | node-trim-newlines | 3.0.0+~3.0.0-1 | DEBIAN-CVE-2021-33623 |
| Ubuntu | 18.04:LTS | node-trim-newlines | 1.0.0-1ubuntu0.18.04.1 | UBUNTU-CVE-2021-33623 USN-5999-1 |
| Ubuntu | 20.04:LTS | node-trim-newlines | 1.0.0-1ubuntu0.20.04.1 | UBUNTU-CVE-2021-33623 USN-5999-1 |
| Ubuntu | 24.04:LTS, 25.10, 26.04:LTS and 1 more | node-trim-newlines | no fix listed | UBUNTU-CVE-2021-33623 |
| Red Hat | rhev_manager:4.4:el8 | apache-commons-compress, apache-commons-compress-javadoc | 0:1.21-1.2.el8ev | RHSA-2022:5555 |
| Red Hat | rhev_manager:4.4:el8 | ovirt-dependencies | 0:4.5.2-1.el8ev | RHSA-2022:5555 |
| Red Hat | rhev_manager:4.4:el8 | ovirt-web-ui | 0:1.9.0-1.el8ev | RHSA-2022:5555 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
OpenShift Container Platform (OCP) grafana-container does package a vulnerable verison of nodejs trim-newlines. However due to the instance being read only and behind OpenShift OAuth, the impact by this vulnerability is Low. Red Hat Advanced Cluster Management for Kubernetes (ACM) containers affected by this flaw are only accessible to authenticated users, thus the impact of this vulnerability is Low.
Red Hat Virtualization (RHV) does package a vulnerable version of nodejs-trim-newlines. However, no untrusted content is being parsed therefore the impact of this vulnerability is Low.
The hosted services are shipped with the vulnerable packages, however the vulnerable methods were not identified in use at this time.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Virtualization Engine 4.4 | ovirt-web-ui-0:1.9.0-1.el8ev | Fixed 2022-07-14 | RHSA-2022:5555 |
| Cluster Observability Operator 1.5 | cluster-observability-operator/distributed-tracing-console-plugin-pf4-rhel9:1782840519 | Fixed 2026-07-01 | RHSA-2026:34342 |
| OpenShift Service Mesh 2.0 | servicemesh-grafana | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/application-ui-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-api-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-header-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/console-ui-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/grc-ui-rhel8 | Affected | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/mcm-topology-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/search-ui-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 1.2 | trim-newlines | Affected | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-grafana | Fix deferred | |
| Red Hat Virtualization 4 | ovirt-engine-ui-extensions | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-33623.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.