Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

CVE-2021-29418 (Medium) detected in netmask-1.0.6.tgz #46

Open
1 task
mend-for-github-com bot opened this issue Apr 1, 2021 · 0 comments
Open
1 task

CVE-2021-29418 (Medium) detected in netmask-1.0.6.tgz #46

mend-for-github-com bot opened this issue Apr 1, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

mend-for-github-com bot commented Apr 1, 2021

CVE-2021-29418 - Medium 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:

  • pac-resolver-3.0.1.tgz (Root Library)
    • netmask-1.0.6.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

The netmask package before 2.0.1 for Node.js mishandles certain unexpected characters in an IP address string, such as an octal digit of 9. This (in some situations) allows attackers to bypass access control that is based on IP addresses. NOTE: this issue exists because of an incomplete fix for CVE-2021-28918.

Publish Date: 2021-03-30

URL: CVE-2021-29418

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://vuln.ryotak.me/advisories/6.txt

Release Date: 2021-03-30

Fix Resolution (netmask): 2.0.1

Direct dependency fix Resolution (@crossbrowsertesting/pac-resolver): 3.0.2


  • Check this box to open an automated fix PR
@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants