http-cache-semantics@3.8.1 vulnerabilities

Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies

Direct Vulnerabilities

Known vulnerabilities in the http-cache-semantics 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
  • M
Regular Expression Denial of Service (ReDoS)

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS). The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.

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

Upgrade http-cache-semantics to version 4.1.1 or higher.

<4.1.1