Vulnerability · Published Apr 1, 2021 · Assigned by mitre

CVE-2021-28918

Critical 9.1

In plain English

A critical-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 15.0% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)15.0%top 3.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Nuclei

Official description

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.

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