CVE-2022-25881
HIGH 7.5CVSS 3.1http-cache-semantics vulnerable to Regular Expression 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
- 31 Jan 2023
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-rc47-6667-2j5j
- Sources
- NVDJSONOSV GHSA-rc47-6667-2j5jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | http-cache-semantics_project | http-cache-semanticscpe:2.3:a:http-cache-semantics_project:http-cache-semantics:*:*:*:*:*:node.js:*:* |
< 4.1.1 | 4.1.1 |
| OSV | npm | http-cache-semantics | < 4.1.1 | 4.1.1 |
| OSV | Maven | org.webjars.npm:http-cache-semantics | < 4.1.1 | 4.1.1 |
References
- https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83 · Broken Link, WEB
- https://security.netapp.com/advisory/ntap-20230622-0008/ · WEB
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332 · Exploit, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25881 · ADVISORY
- https://github.com/kornelski/http-cache-semantics/commit/560b2d8ef452bbba20ffed69dc155d63ac757b74 · WEB
- https://github.com/kornelski/http-cache-semantics · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 31 Jan 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jan 2023)