CVE Vulnerabilities

CVE-2021-33623

Uncontrolled Resource Consumption

Published: May 28, 2021 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Trim-newlines Trim-newlines_project * 3.0.1 (excluding)
Trim-newlines Trim-newlines_project 4.0.0 (including) 4.0.1 (excluding)
Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8 RedHat rhacm2/grc-ui-rhel8:v2.3.0-100 *
Red Hat Virtualization Engine 4.4 RedHat ovirt-web-ui-0:1.9.0-1.el8ev *
Node-trim-newlines Ubuntu bionic *
Node-trim-newlines Ubuntu esm-apps/bionic *
Node-trim-newlines Ubuntu esm-apps/focal *
Node-trim-newlines Ubuntu focal *
Node-trim-newlines Ubuntu groovy *
Node-trim-newlines Ubuntu hirsute *
Node-trim-newlines Ubuntu impish *
Node-trim-newlines Ubuntu lunar *
Node-trim-newlines Ubuntu mantic *
Node-trim-newlines Ubuntu oracular *
Node-trim-newlines Ubuntu plucky *
Node-trim-newlines Ubuntu trusty *
Node-trim-newlines Ubuntu xenial *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References