Vulnerability · Published Mar 30, 2021 · Assigned by mitre

CVE-2021-29418

Medium 5.3

In plain English

A medium-severity security flaw in the netmask package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 75% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)1.5%top 25.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmnetmask1.1.0GHSA-4c7m-wxvm-r7gc
npmnetmask2.0.1GHSA-pch5-whg9-qr2r

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References