CVE-2021-29418 – netmask
Package
Manager: npm
Name: netmask
Vulnerable Version: >=0 <2.0.1
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00025 pctl0.05225
Details
netmask npm package mishandles octal input data 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.
Metadata
Created: 2021-03-29T21:32:05Z
Modified: 2023-09-08T20:25:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-pch5-whg9-qr2r/GHSA-pch5-whg9-qr2r.json
CWE IDs: ["CWE-20"]
Alternative ID: GHSA-pch5-whg9-qr2r
Finding: F184
Auto approve: 1