CVE-2022-25881
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.
What to do
Fixed builds are available from AlmaLinux, Maven, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 9 | aspnetcore-runtime-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | aspnetcore-targeting-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-apphost-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-host | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-hostfxr-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-runtime-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-sdk-6.0-source-built-artifacts | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-targeting-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet-templates-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | dotnet6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | netstandard-targeting-pack-2.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:18.14.2-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2655 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:18.14.2-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2654 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:18.14.2-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2655 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:18.14.2-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2655 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:16.19.1-1.el9_2 | RHSA-2023:2655 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:2.0.20-2.module+el9.2.0.z+18497+a402347c | RHSA-2023:2655 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:2654 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:2654 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:8.19.3-1.16.19.1.1.el9_2 | RHSA-2023:2654 |
| Red Hat Enterprise Linux 8 | aspnetcore-runtime-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | aspnetcore-targeting-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | cockpit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-bridge | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-dashboard | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-doc | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-machines | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-packagekit | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-pcp | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-podman | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-storaged | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-system | Not affected | ||
| Red Hat Enterprise Linux 8 | cockpit-ws | Not affected | ||
| Red Hat Enterprise Linux 8 | dotnet | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-apphost-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-host | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-hostfxr-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-runtime-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-sdk-6.0-source-built-artifacts | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-targeting-pack-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet-templates-6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | dotnet6.0 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | netstandard-targeting-pack-2.1 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:18.14.2-2.module+el8.7.0+18445+9493b6ea | RHSA-2023:1582 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:18.14.2-2.module+el8.7.0+18445+9493b6ea | RHSA-2023:1743 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:18.14.2-2.module+el8.7.0+18445+9493b6ea | RHSA-2023:1743 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:14.21.3-1.module+el8.7.0+18531+81d21ca6 | RHSA-2023:1583 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:2.0.20-3.module+el8.7.0+18373+704f5cef | RHSA-2023:1743 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2023:1582 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:1583 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:9.5.0-1.18.14.2.2.module+el8.7.0+18445+9493b6ea | RHSA-2023:1743 |
| AlmaLinux 9 | nodejs | Fixed | 1:16.19.1-1.el9_2 | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:16.19.1-1.el9_2 | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:18.14.2-2.module_el9.2.0+29+de583a0b | ALSA-2023:2655 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:16.19.1-1.el9_2 | ALSA-2023:2655 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 2.0.20-2.module_el9.2.0+29+de583a0b | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:2654 |
| AlmaLinux 9 | npm | Fixed | 1:9.5.0-1.18.14.2.2.module_el9.2.0+29+de583a0b | ALSA-2023:2655 |
| AlmaLinux 8 | nodejs | Fixed | 1:16.19.1-1.module_el8.7.0+3496+a59a3324 | ALSA-2023:1583 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:14.21.3-1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1582 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1582 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:18.14.2-2.module_el8.7.0+3497+c65299e7 | ALSA-2023:1743 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 2.0.20-3.module_el8.7.0+3496+a59a3324 | ALSA-2023:1583 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:1743 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:1583 |
| AlmaLinux 8 | npm | Fixed | 1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8 | ALSA-2023:1583 |
| Rocky Linux 9 | nodejs | Fixed | 1:16.19.1-1.el9_2 | RLSA-2023:2655 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:2.0.20-3.el9_2 | RLSA-2023:2655 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.7.0+40018+a011993d | RLSA-2023:2654 |
| Rocky Linux 8 | nodejs | Fixed | 1:18.14.2-2.module+el8.7.0+1177+510ae886 | RLSA-2023:1743 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:2.0.20-3.module+el8.7.0+1178+d52dba78 | RLSA-2023:1582 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:25-1.module+el8.6.0+1046+80feca58 | RLSA-2023:1743 |
| npm library | http-cache-semantics | Fixed | 4.1.1 | GHSA-rc47-6667-2j5j |
| Maven library | org.webjars.npm:http-cache-semantics | Fixed | 4.1.1 | GHSA-rc47-6667-2j5j |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- http-cache-semantics: affected: before 4.1.1; fixed in
4.1.1 - org.webjars.npm:http-cache-semantics: affected: before 4.1.1; fixed in
4.1.1
References
- https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332
- https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83
- https://security.netapp.com/advisory/ntap-20230622-0008/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.