CVE-2021-28918Netmask Project Netmask
Critical 9.1 No auth neededHigh EPSS
Follow: this CVE · Netmask Project · Netmask Project Netmask We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Netmask.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| netmask_project | netmask | ≤ 1.0.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Exploit Third Party Advisory
- rootdaemon.com Third Party Advisory
- security.netapp.com Third Party Advisory
- www.bleepingcomputer.com Exploit Press/Media Coverage Third Party Advisory
- www.npmjs.com Product Third Party Advisory