Bug 1552148 - nodejs-diff: Regular expression denial-of-service
Summary: nodejs-diff: Regular expression denial-of-service
Keywords:
Status: CLOSED WONTFIX
Alias: None
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: 1552149 1552150 1552151
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-06 15:23 UTC by Andrej Nemec
Modified: 2020-11-05 10:32 UTC (History)
1 user (show)

Fixed In Version: nodejs-diff 3.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:16:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2018-03-06 15:23:21 UTC
It was found that affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks. This can cause an impact of about 10 seconds matching time for data 48K characters long.

References:

https://snyk.io/vuln/npm:diff:20180305

Upstream patch:

https://github.com/kpdecker/jsdiff/commit/2aec4298639bf30fb88a00b356bf404d3551b8c0

Comment 1 Andrej Nemec 2018-03-06 15:23:39 UTC
Created nodejs-diff tracking bugs for this issue:

Affects: fedora-all [bug 1552150]
Affects: epel-all [bug 1552149]


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