-
Notifications
You must be signed in to change notification settings - Fork 2
Description
CVE-2022-25881 - High Severity Vulnerability
Vulnerable Libraries - http-cache-semantics-4.1.0.tgz, http-cache-semantics-3.8.1.tgz
http-cache-semantics-4.1.0.tgz
Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies
Library home page: https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz
Dependency Hierarchy:
- cli-12.2.16.tgz (Root Library)
- pacote-12.0.2.tgz
- npm-registry-fetch-11.0.0.tgz
- make-fetch-happen-9.1.0.tgz
- ❌ http-cache-semantics-4.1.0.tgz (Vulnerable Library)
- make-fetch-happen-9.1.0.tgz
- npm-registry-fetch-11.0.0.tgz
- pacote-12.0.2.tgz
http-cache-semantics-3.8.1.tgz
Parses Cache-Control and other headers. Helps building correct HTTP caches and proxies
Library home page: https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz
Dependency Hierarchy:
- npm-6.14.16.tgz (Root Library)
- npm-registry-fetch-4.0.7.tgz
- make-fetch-happen-5.0.2.tgz
- ❌ http-cache-semantics-3.8.1.tgz (Vulnerable Library)
- make-fetch-happen-5.0.2.tgz
- npm-registry-fetch-4.0.7.tgz
Found in base branch: master
Vulnerability 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.
Publish Date: 2023-01-31
URL: CVE-2022-25881
CVSS 3 Score Details (7.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
Suggested Fix
Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2022-25881
Release Date: 2023-01-31
Fix Resolution: http-cache-semantics - 4.1.1