Improper input validation in Netmask Project
CVE-2021-29418
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.015, 74.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (cmd-tools/ipv4mix, DNTYO/F5_Vulnerability, seal-community/patches). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4 (Patch, Third Party Advisory)
- vuln.ryotak.me/advisories/6 (Third Party Advisory)
- security.netapp.com/advisory/ntap-20210604-0001/ (Third Party Advisory)