cli-0.20.0.tgz: 2 vulnerabilities (highest severity is: 7.5)
Closed this issue · 0 comments
Vulnerabilities
CVE | Severity | CVSS | Dependency | Type | Fixed in (cli version) | Remediation Available |
---|---|---|---|---|---|---|
CVE-2022-25881 | High | 7.5 | http-cache-semantics-4.1.0.tgz | Transitive | N/A* | ❌ |
CVE-2022-33987 | Medium | 5.3 | got-9.6.0.tgz | Transitive | N/A* | ❌ |
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the section "Details" below to see if there is a version of transitive dependency where vulnerability is fixed.
Details
CVE-2022-25881
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
Dependency Hierarchy:
- cli-0.20.0.tgz (Root Library)
- package-json-6.5.0.tgz
- got-9.6.0.tgz
- cacheable-request-6.1.0.tgz
- ❌ http-cache-semantics-4.1.0.tgz (Vulnerable Library)
- cacheable-request-6.1.0.tgz
- got-9.6.0.tgz
- package-json-6.5.0.tgz
Found in HEAD commit: 9f4d2f94e099c5bc834cd10add4d98a6537ae1a3
Found in base branch: dev
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
Step up your Open Source Security Game with Mend here
CVE-2022-33987
Vulnerable Library - got-9.6.0.tgz
Simplified HTTP requests
Library home page: https://registry.npmjs.org/got/-/got-9.6.0.tgz
Dependency Hierarchy:
- cli-0.20.0.tgz (Root Library)
- package-json-6.5.0.tgz
- ❌ got-9.6.0.tgz (Vulnerable Library)
- package-json-6.5.0.tgz
Found in HEAD commit: 9f4d2f94e099c5bc834cd10add4d98a6537ae1a3
Found in base branch: dev
Vulnerability Details
The got package before 12.1.0 (also fixed in 11.8.5) for Node.js allows a redirect to a UNIX socket.
Publish Date: 2022-06-18
URL: CVE-2022-33987
CVSS 3 Score Details (5.3)
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: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-33987
Release Date: 2022-06-18
Fix Resolution: got - 11.8.5,12.1.0
Step up your Open Source Security Game with Mend here