Bug 1347677 (CVE-2016-1000022) - CVE-2016-1000022 nodejs-negotiator: Regular expression denial-of-service
Summary: CVE-2016-1000022 nodejs-negotiator: Regular expression denial-of-service
Alias: CVE-2016-1000022
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1347678 1347679 1348310
Blocks: 1347680
TreeView+ depends on / blocked
Reported: 2016-06-17 11:44 UTC by Andrej Nemec
Modified: 2021-02-17 03:42 UTC (History)
11 users (show)

Fixed In Version: nodejs-negotiator 0.6.1
Doc Type: If docs needed, set a value
Doc Text:
A regular expression denial of service flaw was found in Negotiator. An attacker able to make an application using Negotiator to perform matching using a specially crafted glob pattern could cause the application to consume an excessive amount of CPU.
Clone Of:
Last Closed: 2016-09-20 02:09:06 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1605 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Enterprise security update 2016-08-11 21:17:27 UTC

Description Andrej Nemec 2016-06-17 11:44:51 UTC
negotiator is an HTTP content negotiator for Node.js and is used by many modules and frameworks including Express and Koa.

The header for "Accept-Language", when parsed by negotiator is vulnerable to Regular Expression Denial of Service via a specially crafted string.

External references:


Comment 1 Andrej Nemec 2016-06-17 11:45:32 UTC
Created nodejs-negotiator tracking bugs for this issue:

Affects: fedora-all [bug 1347678]
Affects: epel-all [bug 1347679]

Comment 4 errata-xmlrpc 2016-08-11 17:18:01 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Enterprise 3.2
  Red Hat OpenShift Enterprise 3.1

Via RHSA-2016:1605 https://access.redhat.com/errata/RHSA-2016:1605

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