Skip to main content

Inefficient Regular Expression Complexity in http-cache-semantics

CVE-2022-25881

  • http-cache-semantics
  • org.webjars.npm:http-cache-semantics
Severity High
Score 7.5/10

Summary

http-cache semantics prior to 4.1.1 contains an Inefficient Regular Expression Complexity, leading to Denial of Service. 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.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-1333 - Inefficient Regular Expression Complexity

The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.

References

Advisory Timeline

  • Published