HoangBachLeLe / SpringAngular

simple CRUD application with a 3-tier architecture (Angular, Spring Boot, MySQL)
0 stars 1 forks source link

cli-13.3.0.tgz: 1 vulnerabilities (highest severity is: 5.3) #236

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - cli-13.3.0.tgz

Path to dependency file: /AngularCRUD/package.json

Path to vulnerable library: /AngularCRUD/node_modules/http-cache-semantics/package.json

Found in HEAD commit: 63e37aae8de84f7e6a2d9a225d031e6173fe872f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (cli version) Remediation Possible**
CVE-2022-25881 Medium 5.3 http-cache-semantics-4.1.0.tgz Transitive 13.3.1

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

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

Path to dependency file: /AngularCRUD/package.json

Path to vulnerable library: /AngularCRUD/node_modules/http-cache-semantics/package.json

Dependency Hierarchy: - cli-13.3.0.tgz (Root Library) - pacote-12.0.3.tgz - npm-registry-fetch-12.0.2.tgz - make-fetch-happen-10.0.3.tgz - :x: **http-cache-semantics-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 63e37aae8de84f7e6a2d9a225d031e6173fe872f

Found in base branch: main

### 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 (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: None - Availability Impact: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-rc47-6667-2j5j

Release Date: 2023-01-31

Fix Resolution (http-cache-semantics): 4.1.1

Direct dependency fix Resolution (@angular/cli): 13.3.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)