logo

CVE-2022-31103 lettersanitizer

Package

Manager: npm
Name: lettersanitizer
Vulnerable Version: >=0 <1.0.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00409 pctl0.60447

Details

Improper handling of CSS at-rules in lettersanitizer ### 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](https://github.com/mat-sz/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](https://github.com/mat-sz/lettersanitizer/issues) * Email me at [contact@matsz.dev](mailto:contact@matsz.dev)

Metadata

Created: 2022-06-23T17:48:19Z
Modified: 2022-07-07T17:15:28Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/06/GHSA-7r3r-gq8p-v9jj/GHSA-7r3r-gq8p-v9jj.json
CWE IDs: ["CWE-754"]
Alternative ID: GHSA-7r3r-gq8p-v9jj
Finding: F002
Auto approve: 1