fresh@0.5.1 vulnerabilities

HTTP response freshness testing

Direct Vulnerabilities

Known vulnerabilities in the fresh 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)

fresh is HTTP response freshness testing.

Affected versions of this package are vulnerable to Regular expression Denial of Service (ReDoS) attacks. A Regular Expression (/ *, */) was used for parsing HTTP headers and take about 2 seconds matching time for 50k characters.

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

Upgrade fresh to version 0.5.2 or higher.

<0.5.2