5.3medium
http-cache-semantics vulnerable to Regular Expression Denial of Service
- Severity
- 5.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.72% (higher than 78% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-rc47-6667-2j5j
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| http-cache-semantics | before 4.1.1 | CVE List |
| org.webjars.npm:http-cache-semantics | before 4.1.1 | CVE List |
| http-cache-semantics (npm) | before 4.1.1 | GitHub Advisory Database |
| org.webjars.npm:http-cache-semantics (Maven) | before 4.1.1 | GitHub Advisory Database |
| http-cache-semantics_project http-cache-semantics | before 4.1.1 | NVD |
All scores
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Esto afecta a las versiones del paquete http-cache-semantics anteriores a la 4.1.1. El problema se puede explotar mediante valores de encabezado de solicitud maliciosos enviados a un servidor, cuando ese servidor lee la política de caché de la solicitud utilizando esta librería.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25881 changed 2025-03-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rc47-6667-2j5j changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2022-25881 changed 2026-06-17 | Public domain |