Bug 1500255 - nodejs-fresh: Regular expression Denial of Service
Summary: nodejs-fresh: Regular expression Denial of Service
Keywords:
Status: CLOSED ERRATA
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: 1500258 1500257 1516713 1516714
Blocks: 1500259
TreeView+ depends on / blocked
 
Reported: 2017-10-10 09:42 UTC by Andrej Nemec
Modified: 2020-12-15 15:28 UTC (History)
23 users (show)

Fixed In Version: nodejs-fresh 0.5.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:27:46 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-10-10 09:42:11 UTC
Fresh is a module used by the Express.js framework for 'HTTP response freshness testing'. It is vulnerable to a regular expression denial of service when it is passed specially crafted input to parse. This causes the event loop to be blocked causing a denial of service condition.

References:

https://nodesecurity.io/advisories/526

Upstream patch:

https://github.com/jshttp/fresh/commit/21a0f0c2a5f447e0d40bc16be0c23fa98a7b46ec

Comment 1 Andrej Nemec 2017-10-10 09:42:42 UTC
Created nodejs-fresh tracking bugs for this issue:

Affects: epel-all [bug 1500258]
Affects: fedora-all [bug 1500257]

Comment 2 Mark Knowles 2017-11-23 10:14:13 UTC
Created nodejs-fresh tracking bugs for this issue:

Affects: openshift-1 [bug 1516714]


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