Vulnerability Details : 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.
Vulnerability category: Input validation
Exploit prediction scoring system (EPSS) score for CVE-2021-29418
Probability of exploitation activity in the next 30 days: 0.11%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 44 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2021-29418
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:P/A:N |
10.0
|
2.9
|
NIST |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2021-29418
-
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-29418
-
https://vuln.ryotak.me/advisories/6
Advisory #6 - RyotaK's Vuln DBThird Party Advisory
-
https://security.netapp.com/advisory/ntap-20210604-0001/
CVE-2021-29418 Node.js Vulnerability in NetApp Products | NetApp Product SecurityThird Party Advisory
-
https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4
Rewrite byte parsing in full JS without depending on parseInt · rs/node-netmask@3f19a05 · GitHubPatch;Third Party Advisory
Products affected by CVE-2021-29418
- cpe:2.3:a:netmask_project:netmask:*:*:*:*:*:node.js:*:*