{"id":"CVE-2022-25881","published":"2023-01-31T05:00:01Z","modified":"2025-03-27T17:16:32Z","title":"This affects versions of the package http-cache-semantics before 4.1.1","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01739,"percentile":0.78154,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332","tags":[]},{"url":"https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230622-0008/","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":15.63},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"http-cache-semantics","versions":["< 4.1.1"]},{"vendor":"n/a","product":"org.webjars.npm:http-cache-semantics","versions":["< 4.1.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-03-27T17:16:22.393784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"http-cache-semantics","vulnerableRanges":["<4.1.1"],"patched":["4.1.1"],"from":["GHSA-rc47-6667-2j5j"],"provenance":"source"},{"ecosystem":"Maven","package":"org.webjars.npm:http-cache-semantics","vulnerableRanges":["<4.1.1"],"patched":["4.1.1"],"from":["GHSA-rc47-6667-2j5j"],"provenance":"source"}],"summary":{"text":"The http-cache-semantics npm package, in versions before 4.1.1, contains a flaw in how it parses HTTP cache-related request headers. An attacker who can send requests to a server that reads the cache policy from incoming requests using this library can craft malicious header values to trigger excessive processing, causing a denial of service; no authentication or user interaction is required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:41Z"},"euvd":{"id":"EUVD-2023-0544","exploited":false,"provenance":"source"}}