Live threats

All CVEs / Netmask Project

CVE-2021-28918Netmask Project Netmask

Critical 9.1 No auth neededHigh EPSS

Priority
71
CVSS 3.1
9.1
EPSS
15.2%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Apr 1, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-704
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Netmask.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm netmask < 1.1.0 1.1.0 npm install netmask@1.1.0
npm netmask < 2.0.1 2.0.1 npm install netmask@2.0.1

Per OSV / GitHub Advisories (GHSA-4c7m-wxvm-r7gc, GHSA-pch5-whg9-qr2r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
netmask_projectnetmask≤ 1.0.6

Official sources

References

Links published by the sources. Open them with care.