{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25881","id":"CVE-2022-25881","title":"http-cache-semantics vulnerable to Regular Expression Denial of Service","description":"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.","descriptionLong":"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","updated":"2026-10-28T02:30:56.750681009Z","reserved":"2022-02-24T11:58:26.944Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"medium","products":["http-cache-semantics","org.webjars.npm:http-cache-semantics"],"affectedProducts":[{"vendor":"n/a","product":"http-cache-semantics","defaultStatus":null,"versions":[{"version":"0","lessThan":"4.1.1","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"org.webjars.npm:http-cache-semantics","defaultStatus":null,"versions":[{"version":"0","lessThan":"4.1.1","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"http-cache-semantics","purl":"pkg:npm/http-cache-semantics","ranges":["<4.1.1"],"fixed":["4.1.1"],"advisory":"GHSA-rc47-6667-2j5j"},{"ecosystem":"Maven","name":"org.webjars.npm:http-cache-semantics","purl":"pkg:maven/org.webjars.npm/http-cache-semantics","ranges":["<4.1.1"],"fixed":["4.1.1"],"advisory":"GHSA-rc47-6667-2j5j"}],"cwes":["CWE-1333"],"aliases":["GHSA-rc47-6667-2j5j"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83","tags":["x_transferred","Broken Link","web"]},{"url":"https://security.netapp.com/advisory/ntap-20230622-0008/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25881.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25881","tags":["advisory"]},{"url":"https://github.com/kornelski/http-cache-semantics/commit/560b2d8ef452bbba20ffed69dc155d63ac757b74","tags":["web"]},{"url":"https://github.com/kornelski/http-cache-semantics","tags":["package"]},{"url":"https://security.netapp.com/advisory/ntap-20230622-0008","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01659,"epssPercentile":0.77171,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25881","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25881","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25881","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rc47-6667-2j5j","ok":true,"note":"GHSA-rc47-6667-2j5j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25881","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}