string-kit@0.12.5 vulnerabilities

A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).

Direct Vulnerabilities

Known vulnerabilities in the string-kit 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)

string-kit is a string manipulation toolbox.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) which is exploitable via the naturalSort() method, due to the usage of an insecure regular expression.

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

Upgrade string-kit to version 0.12.8 or higher.

<0.12.8