GHSA-q8pj-2vqx-8ggc

Suggest an improvement
Source
https://github.com/advisories/GHSA-q8pj-2vqx-8ggc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-q8pj-2vqx-8ggc/GHSA-q8pj-2vqx-8ggc.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-q8pj-2vqx-8ggc
Aliases
Published
2021-06-07T22:11:39Z
Modified
2023-11-01T05:19:04.628428Z
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
Denial of service in css-what
Details

The css-what package 4.0.0 through 5.0.0 for Node.js does not ensure that attribute parsing has Linear Time Complexity relative to the size of the input.

Database specific
{
    "nvd_published_at": "2021-05-28T20:15:00Z",
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2021-06-01T18:12:32Z"
}
References

Affected packages

npm / css-what

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
5.0.1

Ecosystem specific

{
    "affected_functions": [
        "(css-what).parse",
        "(css-what).stringify"
    ]
}

Database specific

{
    "last_known_affected_version_range": "<= 5.0.0"
}