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.
References (3)
Core 3
Core References
Patch, Third Party Advisory x_refsource_misc
https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4
Third Party Advisory x_refsource_misc
https://vuln.ryotak.me/advisories/6
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20210604-0001/
Scores
CVSS v3
5.3
EPSS
0.0002
EPSS Percentile
6.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Details
CWE
CWE-20
Status
published
Products (2)
netmask_project/netmask
< 2.0.1
npm/netmask
0 - 2.0.1npm
Published
Mar 30, 2021
Tracked Since
Feb 18, 2026