ADVISORIES

GitHub Advisory Database

GHSA-rc47-6667-2j5j

http-cache-semantics vulnerable to Regular Expression Denial of Service

Details

http-cache semantics contains an Inefficient Regular Expression Complexity , leading to Denial of Service. This affects versions of the package http-cache-semantics before 4.1.1. 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.

Affected packages

EcosystemPackageAffected versions
npmhttp-cache-semantics
All versions before 4.1.1 (fixed in 4.1.1)
Mavenorg.webjars.npm:http-cache-semantics
All versions before 4.1.1 (fixed in 4.1.1)

References