Description
Decamelize is used to convert a dash/dot/underscore/space separated string to camelCase. Decamelize 1.1.0 through 1.1.1 uses regular expressions to evaluate a string and takes unescaped separator values, which can be used to create a denial of service attack.
Remediation
References
https://github.com/sindresorhus/decamelize/issues/5
https://nodesecurity.io/advisories/308
Related Vulnerabilities
CVE-2014-3004 Vulnerability in maven package org.codehaus.castor:castor-xml
CVE-2015-7501 Vulnerability in maven package commons-collections:commons-collections
CVE-2018-11697 Vulnerability in npm package node-sass
CVE-2014-9970 Vulnerability in maven package org.jasypt:jasypt
CVE-2021-39194 Vulnerability in maven package com.charleskorn.kaml:kaml