ChoeMinji / react-17.0.2

MIT License
1 stars 0 forks source link

CVE-2022-25881 (Medium) detected in http-cache-semantics-4.0.3.tgz, http-cache-semantics-4.1.0.tgz #274

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

mend-bolt-for-github[bot] commented 1 year ago

CVE-2022-25881 - Medium Severity Vulnerability

Vulnerable Libraries - http-cache-semantics-4.0.3.tgz, http-cache-semantics-4.1.0.tgz

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: /package.json

Dependency Hierarchy: - pacote-10.3.0.tgz (Root Library) - npm-registry-fetch-6.0.0.tgz - make-fetch-happen-7.1.0.tgz - :x: **http-cache-semantics-4.0.3.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: /fixtures/blocks/package.json

Path to vulnerable library: /fixtures/blocks/package.json

Dependency Hierarchy: - json-server-0.16.1.tgz (Root Library) - update-notifier-4.1.0.tgz - latest-version-5.1.0.tgz - package-json-6.5.0.tgz - got-9.6.0.tgz - cacheable-request-6.1.0.tgz - :x: **http-cache-semantics-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 4669645897ed4ebcd4ee037f4dabb509ed4754c7

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 (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 (pacote): 10.3.1

Fix Resolution (http-cache-semantics): 4.1.1

Direct dependency fix Resolution (json-server): 0.16.2


Step up your Open Source Security Game with Mend here