CVE-2022-25881 (High) detected in http-cache-semantics-4.0.3.tgz
Opened this issue · 0 comments
CVE-2022-25881 - High Severity Vulnerability
Vulnerable Library - http-cache-semantics-4.0.3.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.0.3.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/http-cache-semantics/package.json
Dependency Hierarchy:
- electron-7.2.4.tgz (Root Library)
- get-1.5.0.tgz
- got-9.6.0.tgz
- cacheable-request-6.1.0.tgz
- ❌ http-cache-semantics-4.0.3.tgz (Vulnerable Library)
- cacheable-request-6.1.0.tgz
- got-9.6.0.tgz
- get-1.5.0.tgz
Found in HEAD commit: 258a926148090b6b402a94b82b81e40d99514101
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: GHSA-rc47-6667-2j5j
Release Date: 2023-01-31
Fix Resolution (http-cache-semantics): 4.1.1
Direct dependency fix Resolution (electron): 7.3.0
Step up your Open Source Security Game with Mend here