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-03-20T04:09:18.342856Z
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.

References

Affected packages

Git / github.com/sindresorhus/trim-newlines

Affected ranges

Type
GIT
Repo
https://github.com/sindresorhus/trim-newlines
Events
Database specific
{
    "versions": [
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.0.1"
        }
    ]
}

Affected versions

v4.*
v4.0.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "3.0.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "10.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33623.json"