GHSA-7r3r-gq8p-v9jj

Suggest an improvement
Source
https://github.com/advisories/GHSA-7r3r-gq8p-v9jj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7r3r-gq8p-v9jj/GHSA-7r3r-gq8p-v9jj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7r3r-gq8p-v9jj
Aliases
Related
Published
2022-06-23T17:48:19Z
Modified
2023-11-08T04:09:26.205914Z
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
Improper handling of CSS at-rules in lettersanitizer
Details

Impact

All versions of lettersanitizer below 1.0.2 are affected by a denial of service issue when processing a CSS at-rule @keyframes.

This package is depended on by react-letter, therefore everyone using react-letter is also at risk.

Patches

The problem has been patched in version 1.0.2.

Workarounds

There is no workaround besides upgrading.

References

The issue was originally reported in the react-letter repository: https://github.com/mat-sz/react-letter/issues/17

For more information

If you have any questions or comments about this advisory: * Open an issue in lettersanitizer * Email me at contact@matsz.dev

Database specific
{
    "nvd_published_at": "2022-06-27T23:15:00Z",
    "severity": "HIGH",
    "github_reviewed_at": "2022-06-23T17:48:19Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-754"
    ]
}
References

Affected packages

npm / lettersanitizer

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.2