{"cve":"CVE-2021-29418","nvd":{"published":"2021-03-30T07:15:13.113","modified":"2026-06-17T03:47:36.187","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-20"],"references":["https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4","https://security.netapp.com/advisory/ntap-20210604-0001/","https://vuln.ryotak.me/advisories/6","https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4","https://security.netapp.com/advisory/ntap-20210604-0001/"],"products":["netmask_project:netmask"],"source":"nvd","synced_at":"2026-10-19T21:17:01.373894544+00:00"},"epss":{"cve":"CVE-2021-29418","score":0.0151,"percentile":0.7445,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4c7m-wxvm-r7gc","url":"https://osv.dev/vulnerability/GHSA-4c7m-wxvm-r7gc","summary":"Improper parsing of octal bytes in netmask","modified":"2026-09-10T03:49:26.521770326Z","packages":[{"ecosystem":"npm","name":"netmask","purl":"pkg:npm/netmask","ranges":["<1.1.0"],"fixed":["1.1.0"]}]},{"id":"GHSA-pch5-whg9-qr2r","url":"https://osv.dev/vulnerability/GHSA-pch5-whg9-qr2r","summary":"netmask npm package mishandles octal input data","modified":"2026-09-10T03:49:14.440382329Z","packages":[{"ecosystem":"npm","name":"netmask","purl":"pkg:npm/netmask","ranges":["<2.0.1"],"fixed":["2.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}