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

public-ip-4.0.4.tgz: 2 vulnerabilities (highest severity is: 7.5) #32

Open
mend-for-github-com bot opened this issue Nov 1, 2022 · 0 comments
Open
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Nov 1, 2022

Vulnerable Library - public-ip-4.0.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/got/package.json

Found in HEAD commit: a931f77b530aea29f7ca45b0dcd6db0d861a3320

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (public-ip version) Remediation Possible** Reachability
CVE-2022-25881 High 7.5 Not Defined 0.1% http-cache-semantics-4.1.0.tgz Transitive 5.0.0
CVE-2022-33987 Medium 5.3 Not Defined 0.1% got-9.6.0.tgz Transitive 5.0.0

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

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

Dependency Hierarchy:

  • public-ip-4.0.4.tgz (Root Library)
    • got-9.6.0.tgz
      • cacheable-request-6.1.0.tgz
        • http-cache-semantics-4.1.0.tgz (Vulnerable Library)

Found in HEAD commit: a931f77b530aea29f7ca45b0dcd6db0d861a3320

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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

Release Date: 2023-01-31

Fix Resolution (http-cache-semantics): 4.1.1

Direct dependency fix Resolution (public-ip): 5.0.0

⛑️ Automatic Remediation will be attempted for this issue.

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/got/package.json

Dependency Hierarchy:

  • public-ip-4.0.4.tgz (Root Library)
    • got-9.6.0.tgz (Vulnerable Library)

Found in HEAD commit: a931f77b530aea29f7ca45b0dcd6db0d861a3320

Found in base branch: main

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

Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.1%

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

For more information on CVSS3 Scores, click here.

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.6

Direct dependency fix Resolution (public-ip): 5.0.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Nov 1, 2022
@mend-for-github-com mend-for-github-com bot changed the title public-ip-4.0.4.tgz: 1 vulnerabilities (highest severity is: 5.3) public-ip-4.0.4.tgz: 2 vulnerabilities (highest severity is: 5.3) Jan 31, 2023
@mend-for-github-com mend-for-github-com bot changed the title public-ip-4.0.4.tgz: 2 vulnerabilities (highest severity is: 5.3) public-ip-4.0.4.tgz: 2 vulnerabilities (highest severity is: 7.5) Mar 16, 2023
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants