CVEfocus › CVE database › CVE-2022-25881

CVE-2022-25881

CVSS 5.3 MediumEPSS 1.7% (higher than 78% of CVEs)Published 2023-01-31Updated 2025-03-27Assigner: snyk

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.

CWE-1333

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

42Fixed
25Will not fix
11Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 9aspnetcore-runtime-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9aspnetcore-targeting-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-apphost-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-hostWill not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-hostfxr-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-runtime-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-sdk-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-sdk-6.0-source-built-artifactsWill not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-targeting-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet-templates-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9dotnet6.0Will not fix
Will not fix
Red Hat Enterprise Linux 9netstandard-targeting-pack-2.1Will not fix
Will not fix
Red Hat Enterprise Linux 9nodejsFixed1:18.14.2-2.module+el9.2.0.z+18497+a402347cRHSA-2023:2655
Red Hat Enterprise Linux 9nodejs-develFixed1:18.14.2-2.module+el9.2.0.z+18497+a402347cRHSA-2023:2654
Red Hat Enterprise Linux 9nodejs-docsFixed1:18.14.2-2.module+el9.2.0.z+18497+a402347cRHSA-2023:2655
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:18.14.2-2.module+el9.2.0.z+18497+a402347cRHSA-2023:2655
Red Hat Enterprise Linux 9nodejs-libsFixed1:16.19.1-1.el9_2RHSA-2023:2655
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:2.0.20-2.module+el9.2.0.z+18497+a402347cRHSA-2023:2655
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2023:2654
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2023:2654
Red Hat Enterprise Linux 9npmFixed1:8.19.3-1.16.19.1.1.el9_2RHSA-2023:2654
Red Hat Enterprise Linux 8aspnetcore-runtime-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8aspnetcore-targeting-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8cockpitNot affected
Red Hat Enterprise Linux 8cockpit-bridgeNot affected
Red Hat Enterprise Linux 8cockpit-dashboardNot affected
Red Hat Enterprise Linux 8cockpit-docNot affected
Red Hat Enterprise Linux 8cockpit-machinesNot affected
Red Hat Enterprise Linux 8cockpit-packagekitNot affected
Red Hat Enterprise Linux 8cockpit-pcpNot affected
Red Hat Enterprise Linux 8cockpit-podmanNot affected
Red Hat Enterprise Linux 8cockpit-storagedNot affected
Red Hat Enterprise Linux 8cockpit-systemNot affected
Red Hat Enterprise Linux 8cockpit-wsNot affected
Red Hat Enterprise Linux 8dotnetWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-apphost-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-hostWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-hostfxr-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-runtime-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-sdk-6.0-source-built-artifactsWill not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-targeting-pack-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet-templates-6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8dotnet6.0Will not fix
Will not fix
Red Hat Enterprise Linux 8netstandard-targeting-pack-2.1Will not fix
Will not fix
Red Hat Enterprise Linux 8nodejsFixed1:18.14.2-2.module+el8.7.0+18445+9493b6eaRHSA-2023:1582
Red Hat Enterprise Linux 8nodejs-develFixed1:18.14.2-2.module+el8.7.0+18445+9493b6eaRHSA-2023:1743
Red Hat Enterprise Linux 8nodejs-docsFixed1:18.14.2-2.module+el8.7.0+18445+9493b6eaRHSA-2023:1743
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:14.21.3-1.module+el8.7.0+18531+81d21ca6RHSA-2023:1583
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.20-3.module+el8.7.0+18373+704f5cefRHSA-2023:1743
Red Hat Enterprise Linux 8nodejs-packagingFixed0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:1582
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2023:1583
Red Hat Enterprise Linux 8npmFixed1:9.5.0-1.18.14.2.2.module+el8.7.0+18445+9493b6eaRHSA-2023:1743
AlmaLinux 9nodejsFixed1:16.19.1-1.el9_2ALSA-2023:2654
AlmaLinux 9nodejs-develFixed1:18.14.2-2.module_el9.2.0+29+de583a0bALSA-2023:2654
AlmaLinux 9nodejs-docsFixed1:16.19.1-1.el9_2ALSA-2023:2654
AlmaLinux 9nodejs-full-i18nFixed1:18.14.2-2.module_el9.2.0+29+de583a0bALSA-2023:2655
AlmaLinux 9nodejs-libsFixed1:16.19.1-1.el9_2ALSA-2023:2655
AlmaLinux 9nodejs-nodemonFixed2.0.20-2.module_el9.2.0+29+de583a0bALSA-2023:2654
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:2654
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:2654
AlmaLinux 9npmFixed1:9.5.0-1.18.14.2.2.module_el9.2.0+29+de583a0bALSA-2023:2655
AlmaLinux 8nodejsFixed1:16.19.1-1.module_el8.7.0+3496+a59a3324ALSA-2023:1583
AlmaLinux 8nodejs-develFixed1:14.21.3-1.module_el8.7.0+3551+53700ee8ALSA-2023:1582
AlmaLinux 8nodejs-docsFixed1:18.14.2-2.module_el8.7.0+3497+c65299e7ALSA-2023:1582
AlmaLinux 8nodejs-full-i18nFixed1:18.14.2-2.module_el8.7.0+3497+c65299e7ALSA-2023:1743
AlmaLinux 8nodejs-nodemonFixed2.0.20-3.module_el8.7.0+3496+a59a3324ALSA-2023:1583
AlmaLinux 8nodejs-packagingFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:1743
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:1583
AlmaLinux 8npmFixed1:6.14.18-1.14.21.3.1.module_el8.7.0+3551+53700ee8ALSA-2023:1583
Rocky Linux 9nodejsFixed1:16.19.1-1.el9_2RLSA-2023:2655
Rocky Linux 9nodejs-nodemonFixed0:2.0.20-3.el9_2RLSA-2023:2655
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.7.0+40018+a011993dRLSA-2023:2654
Rocky Linux 8nodejsFixed1:18.14.2-2.module+el8.7.0+1177+510ae886RLSA-2023:1743
Rocky Linux 8nodejs-nodemonFixed0:2.0.20-3.module+el8.7.0+1178+d52dba78RLSA-2023:1582
Rocky Linux 8nodejs-packagingFixed0:25-1.module+el8.6.0+1046+80feca58RLSA-2023:1743
npm libraryhttp-cache-semanticsFixed4.1.1GHSA-rc47-6667-2j5j
Maven libraryorg.webjars.npm:http-cache-semanticsFixed4.1.1GHSA-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.

References

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.