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-2021-28918 (Critical) detected in netmask-1.0.6.tgz #98

Open
mend-for-github-com bot opened this issue Dec 10, 2021 · 0 comments
Open

CVE-2021-28918 (Critical) detected in netmask-1.0.6.tgz #98

mend-for-github-com bot opened this issue Dec 10, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Dec 10, 2021

CVE-2021-28918 - Critical Severity Vulnerability

Vulnerable Library - netmask-1.0.6.tgz

Parse and lookup IP network blocks

Library home page: https://registry.npmjs.org/netmask/-/netmask-1.0.6.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • karma-2.0.0.tgz (Root Library)
    • log4js-2.5.3.tgz
      • mailgun-js-0.7.15.tgz
        • proxy-agent-2.0.0.tgz
          • pac-proxy-agent-1.1.0.tgz
            • pac-resolver-2.0.0.tgz
              • netmask-1.0.6.tgz (Vulnerable Library)

Found in HEAD commit: e09ef1e3a45be925a41a2e1aa6a0bcbc6b3c41ea

Found in base branch: master

Vulnerability Details

Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many of the dependent packages. A remote unauthenticated attacker can bypass packages relying on netmask to filter IPs and reach critical VPN or LAN hosts.

Publish Date: 2021-04-01

URL: CVE-2021-28918

CVSS 3 Score Details (9.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-pch5-whg9-qr2r

Release Date: 2021-04-01

Fix Resolution (netmask): 2.0.1

Direct dependency fix Resolution (karma): 3.0.0


⛑️ 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 WhiteSource label Dec 10, 2021
@mend-for-github-com mend-for-github-com bot changed the title CVE-2021-28918 (High) detected in netmask-1.0.6.tgz CVE-2021-28918 (Critical) detected in netmask-1.0.6.tgz Jul 2, 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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants