Improper Input Validation Affecting node-negotiator package, versions <0.6.1-1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.09% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2110-NODENEGOTIATOR-1756996
  • published31 May 2018
  • disclosed31 May 2018

Introduced: 31 May 2018

CVE-2016-10539  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:21.10 node-negotiator to version 0.6.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-negotiator package and not the node-negotiator package as distributed by Ubuntu. See How to fix? for Ubuntu:21.10 relevant fixed versions and status.

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.