Skip to content

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

Description

@mend-for-github-com

CVE-2022-25881 - High Severity Vulnerability

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

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-12.2.16.tgz (Root Library)
    • pacote-12.0.2.tgz
      • npm-registry-fetch-11.0.0.tgz
        • make-fetch-happen-9.1.0.tgz
          • http-cache-semantics-4.1.0.tgz (Vulnerable Library)
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

Dependency Hierarchy:

  • npm-6.14.16.tgz (Root Library)
    • npm-registry-fetch-4.0.7.tgz
      • make-fetch-happen-5.0.2.tgz
        • http-cache-semantics-3.8.1.tgz (Vulnerable Library)

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

For more information on CVSS3 Scores, click here.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions