GHSA-7r28-3m3f-r2pr

Suggest an improvement
Source
https://github.com/advisories/GHSA-7r28-3m3f-r2pr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-7r28-3m3f-r2pr/GHSA-7r28-3m3f-r2pr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7r28-3m3f-r2pr
Aliases
Published
2021-03-19T21:25:50Z
Modified
2023-11-08T04:05:28.214783Z
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
Regular Expression Denial of Service (ReDoS)
Details

The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input.

Database specific
{
    "github_reviewed_at": "2021-03-15T18:19:52Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "nvd_published_at": "2021-03-12T22:15:00Z",
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / is-svg

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.1.0
Fixed
4.2.2