CVE-2022-25881 - High Severity Vulnerability
Vulnerable Libraries - http-cache-semantics-3.8.1.tgz, http-cache-semantics-4.1.0.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
Path to dependency file: /script/vsts/package.json
Path to vulnerable library: /script/vsts/node_modules/http-cache-semantics/package.json,/apm/node_modules/npm/node_modules/http-cache-semantics/package.json
Dependency Hierarchy:
- atom-package-manager-2.6.5.tgz (Root Library)
- npm-6.14.17.tgz
- npm-registry-fetch-4.0.7.tgz
- make-fetch-happen-5.0.2.tgz
- ❌ http-cache-semantics-3.8.1.tgz (Vulnerable Library)
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
Path to dependency file: /script/package.json
Path to vulnerable library: /script/node_modules/npm/node_modules/http-cache-semantics/package.json
Dependency Hierarchy:
- npm-8.19.2.tgz (Root Library)
- make-fetch-happen-10.2.1.tgz
- ❌ http-cache-semantics-4.1.0.tgz (Vulnerable Library)
Found in HEAD commit: 808ed16784ca49c0e5810becefba198982d2916e
Found in base branch: electron-upgrade
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
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: GHSA-rc47-6667-2j5j
Release Date: 2023-01-31
Fix Resolution (http-cache-semantics): 4.1.1
Direct dependency fix Resolution (npm): 8.19.3
Step up your Open Source Security Game with Mend here
CVE-2022-25881 - High Severity Vulnerability
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
Path to dependency file: /script/vsts/package.json
Path to vulnerable library: /script/vsts/node_modules/http-cache-semantics/package.json,/apm/node_modules/npm/node_modules/http-cache-semantics/package.json
Dependency Hierarchy:
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
Path to dependency file: /script/package.json
Path to vulnerable library: /script/node_modules/npm/node_modules/http-cache-semantics/package.json
Dependency Hierarchy:
Found in HEAD commit: 808ed16784ca49c0e5810becefba198982d2916e
Found in base branch: electron-upgrade
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
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
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: GHSA-rc47-6667-2j5j
Release Date: 2023-01-31
Fix Resolution (http-cache-semantics): 4.1.1
Direct dependency fix Resolution (npm): 8.19.3
Step up your Open Source Security Game with Mend here