Bug 1445292 (CVE-2017-16023) - CVE-2017-16023 nodejs-decamelize: Regular expression Denial-of-Service
Summary: CVE-2017-16023 nodejs-decamelize: Regular expression Denial-of-Service
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2017-16023
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1470106 1597996
Blocks: 1445293
TreeView+ depends on / blocked
 
Reported: 2017-04-25 12:41 UTC by Andrej Nemec
Modified: 2019-09-29 14:11 UTC (History)
23 users (show)

Fixed In Version: nodejs-decamelize 1.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:11:08 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.