Advisory

GHSA-rc47-6667-2j5j

Also known as: CVE-2022-25881

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-01-31 06:30 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

http-cache-semantics

npm · All systems

Affected

  • introduced 0, fixed 4.1.1 (semver)

Fixed versions

4.1.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences