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.
CVE-2022-25881
This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 61% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.3
- EG Score
- 5.3(medium)
- EPSS
- 73.1%
- KEV
- Not listed
Published
January 31, 2023
Last Modified
March 27, 2025
References (8)
- report@snykhttps://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83
- report@snykhttps://security.netapp.com/advisory/ntap-20230622-0008/
- report@snykhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332
- report@snykhttps://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783
- af854a3a-2127-422b-91ae-364da2661108https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20230622-0008/
- af854a3a-2127-422b-91ae-364da2661108https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332
- af854a3a-2127-422b-91ae-364da2661108https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783
Vendor Advisories for CVE-2022-25881(15)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:5533Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs security, bug fix, and enhancement update
- RHSA-2023:3815Red Hat Product SecurityHigh
Red Hat Security Advisory: Service Registry (container images) release and security update [2.4.3 GA]
- RHSA-2023:2655Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs and nodejs-nodemon security, bug fix, and enhancement update
- RHSA-2023:2654Red Hat Product SecurityMedium
Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update
- RHSA-2023:2104Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5.8 security updates and bug fixes
- RHSA-2023:2098Red Hat Product SecurityMedium
Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.0.8 security updates and bug fixes
- RHSA-2023:2083Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.6.5 security updates and bug fixes
- RHSA-2023:2061Red Hat Product SecurityMedium
Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.1.6 security updates and bug fixes
- +7 more
Patch Availability(11)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | nodejs-1:16.20.2-1.el9_0 | 2023-10-09 | redhat |
| redhat | http-cache-semantics | 2023-06-27 | redhat |
| redhat | nodejs-1:16.19.1-1.el9_2 | 2023-05-09 | redhat |
| redhat | nodejs:18-9020020230327152102.rhel9 | 2023-05-09 | redhat |
| redhat | nodejs:14-8070020230306170042.bd1311ed | 2023-04-12 | redhat |
| redhat | nodejs:14-8060020230306170237.ad008a3a | 2023-04-12 | redhat |
| redhat | rh-nodejs14-nodejs-0:14.21.3-2.el7 | 2023-04-12 | redhat |
| redhat | nodejs:16-8070020230314140722.bd1311ed | 2023-04-04 | redhat |
| redhat | nodejs:18-8070020230322080930.bd1311ed | 2023-04-04 | redhat |
| redhat | nodejs:14-8040020230306170312.522a0ee4 | 2023-03-30 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.7.8-5 | 2023-03-23 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(2 across 2 ecosystems)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.webjars.npm:http-cache-semantics | 3.8.1, 4.0.4, 4.1.0 | 4.1.1 | — |
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| http-cache-semantics | — | 4.1.1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 8× in last 7d / 39× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
Show 50 moreShow fewer
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-25 07:39 UTCEG score recompute
- 2026-05-25 07:39 UTCVendor advisory
Frequently asked(5)
What is CVE-2022-25881?
When was CVE-2022-25881 disclosed?
Is CVE-2022-25881 actively exploited?
What is the CVSS score of CVE-2022-25881?
How do I remediate CVE-2022-25881?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-25881
Is Your Infrastructure Affected by CVE-2022-25881?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.