| Package | Affected versions | Patched versions |
|---|---|---|
| crass | < 1.0.7 | 1.0.7 |
When parsing an input containing non-ASCII characters, inefficiencies in how Crass tracks the positions of multi-byte characters result in superlinear parsing time. An attacker-controlled input consisting of many non-ASCII characters could cause excessive CPU consumption and potentially denial of service.
This is fixed in Crass 1.0.7.
Avoid passing non-ASCII input to Crass. Or cultivate patience.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free