Bug 1445292 (CVE-2017-16023)

Summary: CVE-2017-16023 nodejs-decamelize: Regular expression Denial-of-Service
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ahardin, avibelli, bleanhar, ccoleman, dedgar, dmcphers, gsterlin, hhorak, jbalunas, jgoulding, jkeck, joelsmith, jokerman, jorton, jshepherd, jsmith.fedora, kseifried, mchappel, nodejs-sig, rrajasek, tdawson, tkirby, zsvetlik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nodejs-decamelize 1.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:11:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1470106, 1597996    
Bug Blocks: 1445293    

Description Andrej Nemec 2017-04-25 12:41:37 UTC
Affected versions of decamelize 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.

Upstream bug:

https://github.com/sindresorhus/decamelize/issues/5

Upstream patch:

https://github.com/sindresorhus/decamelize/commit/76d47d8de360afb574da2e34db87430ce11094e0