Skip to content
OpenAdvisories
High CVE-2016-10539 EUVD-2018-0538GHSA-7mc5-chhp-fmc3

Regular Expression Denial of Service in negotiator

Published May 31, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

Description

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 0.6.0 and earlier is vulnerable to Regular Expression Denial of Service via a specially crafted string.

Affected products

VendorProductAffectedFixed
HackerOne negotiator node module <= 0.6.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-negotiator 0.6.1-1 —
Debian 13 node-negotiator 0.6.1-1 —
Debian 12 node-negotiator 0.6.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-negotiator 0.6.1-1 —
Ubuntu 18.04 LTS node-negotiator 0.6.1-1 —
Ubuntu 16.04 LTS node-negotiator No fix yet —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 nodejs-nodemon No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm negotiator < 0.6.1 0.6.1 GHSA-7mc5-chhp-fmc3

References