{"id":"CVE-2022-25881","aliases":["GHSA-rc47-6667-2j5j"],"url":"https://o3.security/vulnerability/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.","published":"2023-01-31T05:00:01.220Z","modified":"2026-10-21T02:49:09.498747769Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":{"score":0.01613,"percentile":0.74656,"asOf":"2026-09-15"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Maven","name":"org.webjars.npm:http-cache-semantics","fixedVersion":"4.1.1"},{"ecosystem":"npm","name":"http-cache-semantics","fixedVersion":"4.1.1"}],"fix":{"url":"https://github.com/kornelski/http-cache-semantics/commit/560b2d8ef452bbba20ffed69dc155d63ac757b74","label":"kornelski/http-cache-semantics@560b2d8"},"references":[{"type":"WEB","url":"https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25881.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25881"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230622-0008/"},{"type":"WEB","url":"https://github.com/kornelski/http-cache-semantics/commit/560b2d8ef452bbba20ffed69dc155d63ac757b74"},{"type":"PACKAGE","url":"https://github.com/kornelski/http-cache-semantics"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230622-0008"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:49:09.498747769Z"}}