{"id":"CVE-2022-25881","details":"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.","aliases":["GHSA-rc47-6667-2j5j"],"modified":"2026-05-18T05:53:21.442229292Z","published":"2023-01-31T05:00:01.220Z","related":["ALSA-2023:1582","ALSA-2023:1583","ALSA-2023:1743","ALSA-2023:2654","ALSA-2023:2655","CGA-wqfv-cvj7-q592","SUSE-SU-2023:1871-1","SUSE-SU-2023:1872-1","SUSE-SU-2023:1875-1","SUSE-SU-2023:1876-1","SUSE-SU-2023:1923-1","SUSE-SU-2023:1924-1","SUSE-SU-2023:1942-1","SUSE-SU-2023:2662-1","SUSE-SU-2023:2669-1","openSUSE-SU-2024:12870-1"],"database_specific":{"cwe_ids":["CWE-1333"],"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25881.json"},"references":[{"type":"WEB","url":"https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25881.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25881"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230622-0008/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/kornelski/http-cache-semantics","events":[{"introduced":"0"},{"fixed":"24496504352199caf360d1b4d4a01efdc8a7249e"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.1.1"}],"source":"AFFECTED_FIELD"}}],"versions":["v4.1.0","v4.0.4","v4.0.3","v4.0.2","v4.0.0","v3.8.1","v3.8.0","v3.7.3","v3.7.1","v3.7.0","v3.6.0","v3.5.1","v3.4.0","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-25881.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}