netmask (npm)
Parse and lookup IP network blocks
Advisories
2
Latest version
2.1.1
Released Apr 8, 2026
License
MIT
OpenSSF Scorecard
4.1 / 10
How to fix
Upgrading to 2.0.1 or later clears every advisory below that has a fix.
Upgrade commands
npm
npm install netmask@2.1.1yarn
yarn add netmask@2.1.1pnpm
pnpm add netmask@2.1.1Known vulnerabilities
| Advisory | Severity | Affected | Fixed in |
|---|---|---|---|
| GHSA-4c7m-wxvm-r7gc Improper parsing of octal bytes in netmask |
Critical EPSS 15.04% |
< 1.1.0 | 1.1.0 |
| GHSA-4c7m-wxvm-r7gc Improper parsing of octal bytes in netmask |
Critical EPSS 15.04% |
< 2.0.1 | 2.0.1 |
Source: git://github.com/rs/node-netmask.git
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor