negotiator@0.4.2 vulnerabilities

HTTP content negotiation

Direct Vulnerabilities

Known vulnerabilities in the negotiator package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Regular Expression Denial of Service (ReDoS)

negotiator is an HTTP content negotiator for Node.js.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when parsing Accept-Language http header.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade negotiator to version 0.6.1 or higher.

<0.6.1