decamelize@1.1.1 vulnerabilities

Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow

Direct Vulnerabilities

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

decamelize converts a camelized string into a lowercased one with a custom separator.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The seperators are not escaped and may allow an attacker to send seperators like |, which will cause the regex parser to hang for long periods of time.

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

Update decamelize to version 1.1.2 or higher.

>=1.1.0 <1.1.2
  • H
Regular Expression Denial of Service (ReDoS)

decamelize converts a camelized string into a lowercased one with a custom separator.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The seperators are not escaped and may allow an attacker to send seperators like |, which will cause the regex parser to hang for long periods of time.

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

Update decamelize to version 1.1.2 or higher.

>=1.1.0 <1.1.2