Vulnerability record · CVE-2021-29418 · published 30 March 2021
CVE-2021-29418: Netmask project netmask improper input validation vulnerability
Netmask Project · Netmask
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4 | PatchThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210604-0001/ | Third Party Advisory |
| https://vuln.ryotak.me/advisories/6 | Third Party Advisory |
| https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4 | PatchThird Party Advisory |
| https://security.netapp.com/advisory/ntap-20210604-0001/ | Third Party Advisory |
| https://vuln.ryotak.me/advisories/6 | Third Party Advisory |
Track CVE-2021-29418 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-29418), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.