CVE-2021-33623

Source
https://cve.org/CVERecord?id=CVE-2021-33623
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33623.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-33623
Aliases
Downstream
Published
2021-05-28T18:15:07.537Z
Modified
2026-05-18T05:53:22.478628275Z
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
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.

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
                {
                    "last_affected": "10.0"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "source": "CPE_FIELD",
            "vendor_product": "trim-newlines_project:trim-newlines",
            "extracted_events": [
                {
                    "fixed": "3.0.1"
                }
            ],
            "cpes": [
                "cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*"
            ]
        }
    ]
}
References

Affected packages

Git / github.com/sindresorhus/trim-newlines

Affected ranges

Type
GIT
Repo
https://github.com/sindresorhus/trim-newlines
Events
Database specific
{
    "cpe": "cpe:2.3:a:trim-newlines_project:trim-newlines:*:*:*:*:*:node.js:*:*",
    "source": [
        "CPE_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.1"
        }
    ]
}

Affected versions

v4.*
v4.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33623.json"