Vulnerability library
Security checkFebruary 13, 2025

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the http-cache-semantics package to the latest compatible version. Followings are version details:

  • Affected version(s): < 4.1.1
  • Patched version(s): 4.1.1

References

Could your website be exposed too?

SmartScanner can check your website for http-cache-semantics vulnerable to Regular Expression Denial of Service and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated February 13, 2025