CVE-2021-29418

MEDIUM

netmask < 2.0.1 - IP Address Validation Bypass via Octal Digit Handling

Title source: llm
STIX 2.1

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
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.0168
EPSS Percentile 74.1%
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