Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-for-github.aaakk.us.kg bot opened this issue Jan 31, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github.aaakk.us.kg
Copy link
Contributor

mend-for-github.aaakk.us.kg bot commented Jan 31, 2023

CVE-2022-25881 - Medium 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: /package.json

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

Dependency Hierarchy:

  • download-8.0.0.tgz (Root Library)
    • got-8.3.2.tgz
      • cacheable-request-2.1.4.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: /frontend/package.json

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

Dependency Hierarchy:

  • cli-11.2.14.tgz (Root Library)
    • pacote-11.2.4.tgz
      • npm-registry-fetch-9.0.0.tgz
        • make-fetch-happen-8.0.14.tgz
          • http-cache-semantics-4.1.0.tgz (Vulnerable Library)

Found in HEAD commit: ba236fd18ec3e6450d68d675bce1609d2e5d3230

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: GHSA-rc47-6667-2j5j

Release Date: 2023-01-31

Fix Resolution (http-cache-semantics): 4.1.1

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


⛑️ Automatic Remediation will be attempted for this issue.

@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 31, 2023
@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2022-25881 (Medium) detected in http-cache-semantics-3.8.1.tgz, http-cache-semantics-4.1.0.tgz CVE-2022-25881 (High) detected in http-cache-semantics-3.8.1.tgz, http-cache-semantics-4.1.0.tgz Feb 9, 2023
@mend-for-github.aaakk.us.kg mend-for-github.aaakk.us.kg bot changed the title CVE-2022-25881 (High) detected in http-cache-semantics-3.8.1.tgz, http-cache-semantics-4.1.0.tgz CVE-2022-25881 (Medium) detected in http-cache-semantics-3.8.1.tgz, http-cache-semantics-4.1.0.tgz Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants