UBUNTU-CVE-2021-33623

Source
https://ubuntu.com/security/CVE-2021-33623
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-33623.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-33623
Upstream
Downstream
Related
Published
2021-05-28T18:15:00Z
Modified
2025-07-18T16:46:51Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / node-trim-newlines

Package

Name
node-trim-newlines
Purl
pkg:deb/ubuntu/node-trim-newlines@1.0.0-1ubuntu0.18.04.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0-1ubuntu0.18.04.1

Affected versions

1.*

1.0.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "node-trim-newlines",
            "binary_version": "1.0.0-1ubuntu0.18.04.1"
        }
    ]
}

Ubuntu:20.04:LTS / node-trim-newlines

Package

Name
node-trim-newlines
Purl
pkg:deb/ubuntu/node-trim-newlines@1.0.0-1ubuntu0.20.04.1?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.0-1ubuntu0.20.04.1

Affected versions

1.*

1.0.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "node-trim-newlines",
            "binary_version": "1.0.0-1ubuntu0.20.04.1"
        }
    ]
}

Ubuntu:24.04:LTS / node-trim-newlines

Package

Name
node-trim-newlines
Purl
pkg:deb/ubuntu/node-trim-newlines@3.0.0+~3.0.0-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.0+~3.0.0-1

Ubuntu:25.04 / node-trim-newlines

Package

Name
node-trim-newlines
Purl
pkg:deb/ubuntu/node-trim-newlines@3.0.0+~3.0.0-1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.0.0+~3.0.0-1