org.webjars.npm:nth-check@1.0.2 vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:nth-check package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when parsing crafted invalid CSS nth-checks, due to the sub-pattern \s*(?:([+-]?)\s*(\d+))? in RE_NTH_ELEMENT with quantified overlapping adjacency.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade org.webjars.npm:nth-check to version 2.0.1 or higher.

[,2.0.1)