Vonage/vscode

public-ip-4.0.3.tgz: 3 vulnerabilities (highest severity is: 7.5) - autoclosed

Closed this issue · 1 comments

Vulnerable Library - public-ip-4.0.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/dns-packet/package.json

Found in HEAD commit: e3ded238a81218555f5494efc4ea600c922eb1ba

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (public-ip version) Remediation Available
CVE-2021-33502 High 7.5 normalize-url-4.5.0.tgz Transitive 4.0.4
CVE-2021-23386 Medium 6.5 dns-packet-5.2.1.tgz Transitive 4.0.4
CVE-2022-33987 Medium 5.3 got-9.6.0.tgz Transitive 5.0.0

Details

CVE-2021-33502

Vulnerable Library - normalize-url-4.5.0.tgz

Normalize a URL

Library home page: https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/normalize-url/package.json

Dependency Hierarchy:

  • public-ip-4.0.3.tgz (Root Library)
    • got-9.6.0.tgz
      • cacheable-request-6.1.0.tgz
        • normalize-url-4.5.0.tgz (Vulnerable Library)

Found in HEAD commit: e3ded238a81218555f5494efc4ea600c922eb1ba

Found in base branch: main

Vulnerability Details

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

Publish Date: 2021-05-24

URL: CVE-2021-33502

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33502

Release Date: 2021-05-24

Fix Resolution (normalize-url): 4.5.1

Direct dependency fix Resolution (public-ip): 4.0.4

⛑️ Automatic Remediation is available for this issue

CVE-2021-23386

Vulnerable Library - dns-packet-5.2.1.tgz

An abstract-encoding compliant module for encoding / decoding DNS packets

Library home page: https://registry.npmjs.org/dns-packet/-/dns-packet-5.2.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/dns-packet/package.json

Dependency Hierarchy:

  • public-ip-4.0.3.tgz (Root Library)
    • dns-socket-4.2.1.tgz
      • dns-packet-5.2.1.tgz (Vulnerable Library)

Found in HEAD commit: e3ded238a81218555f5494efc4ea600c922eb1ba

Found in base branch: main

Vulnerability Details

This affects the package dns-packet before 5.2.2. It creates buffers with allocUnsafe and does not always fill them before forming network packets. This can expose internal application memory over unencrypted network when querying crafted invalid domain names.

Publish Date: 2021-05-20

URL: CVE-2021-23386

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • 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-2021-23386

Release Date: 2021-05-20

Fix Resolution (dns-packet): 5.2.2

Direct dependency fix Resolution (public-ip): 4.0.4

⛑️ Automatic Remediation is available 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.3.tgz (Root Library)
    • got-9.6.0.tgz (Vulnerable Library)

Found in HEAD commit: e3ded238a81218555f5494efc4ea600c922eb1ba

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

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): 12.2.0

Direct dependency fix Resolution (public-ip): 5.0.0

⛑️ Automatic Remediation is available for this issue


⛑️ Automatic Remediation is available for this issue.

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.