Bug 1209496 (CVE-2015-8855) - CVE-2015-8855 nodejs-semver: npm Regular Expression Denial of Service during package versions parsing
Summary: CVE-2015-8855 nodejs-semver: npm Regular Expression Denial of Service during ...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2015-8855
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: 1209498 1209499
Blocks: 1209497
TreeView+ depends on / blocked
 
Reported: 2015-04-07 13:39 UTC by Vasyl Kaigorodov
Modified: 2021-02-17 05:26 UTC (History)
5 users (show)

Fixed In Version: npm 2.7.5, semver 4.3.2
Clone Of:
Environment:
Last Closed: 2015-04-30 08:58:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Vasyl Kaigorodov 2015-04-07 13:39:24 UTC
semver is vulnerable to regular expression denial of service (ReDoS) when extremely long version strings are parsed:

https://nodesecurity.io/advisories/semver_redos

Upstream fix:
https://github.com/npm/npm/commit/0dc68757cffd5397c280bc71365d106523a5a052

Comment 1 Vasyl Kaigorodov 2015-04-07 13:41:53 UTC
Created nodejs-semver tracking bugs for this issue:

Affects: fedora-all [bug 1209498]
Affects: epel-all [bug 1209499]

Comment 3 Ján Rusnačko 2015-04-08 08:27:06 UTC
External References:

https://nodesecurity.io/advisories/semver_redos

Comment 5 Andrej Nemec 2016-04-22 08:00:13 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q2/122


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