{"id":"GHSA-rc47-6667-2j5j","revision":"e5e132d8448d4e4fae852979d7d0fc78","records":[{"revision":"e5e132d8448d4e4fae852979d7d0fc78","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-rc47-6667-2j5j","aliases":["CVE-2022-25881"],"title":"http-cache-semantics vulnerable to Regular Expression Denial of Service","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.","state":0,"publishedAt":"2023-01-31T06:30:26+00:00","modifiedAt":"2026-09-10T03:49:51.817107+00:00","affected":[{"ecosystem":"npm","name":"http-cache-semantics","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.1.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Maven","name":"org.webjars.npm:http-cache-semantics","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.1.1"}]}],"versions":["3.8.1","4.0.4","4.1.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-25881","https://github.com/kornelski/http-cache-semantics/commit/560b2d8ef452bbba20ffed69dc155d63ac757b74","https://github.com/kornelski/http-cache-semantics","https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83","https://security.netapp.com/advisory/ntap-20230622-0008","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332","https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783"],"sourceUrl":"https://github.com/advisories/GHSA-rc47-6667-2j5j","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-rc47-6667-2j5j","identifiers":["GHSA-rc47-6667-2j5j","CVE-2022-25881"]},"retained":false,"historicalAffected":[]}],"coverage":[]}