{"id":"CVE-2021-28918","published":"2021-04-01T12:33:50Z","modified":"2024-08-03T21:55:11Z","title":"Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many of the dependent packages. A remote unauthenticated attacker can bypass packages relying on netmask to filter IPs and reach critical VPN or LAN hosts.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.15157,"percentile":0.96829,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.npmjs.com/package/netmask","tags":["x_refsource_MISC"]},{"url":"https://github.com/rs/node-netmask","tags":["x_refsource_MISC"]},{"url":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r","tags":["x_refsource_MISC"]},{"url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210528-0010/","tags":["x_refsource_CONFIRM"]},{"url":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/","tags":["x_refsource_MISC"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.37},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"nuclei":[{"id":"CVE-2021-28918","name":"Netmask NPM Package - Server-Side Request Forgery","severity":"critical","path":"http/cves/2021/CVE-2021-28918.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-28918.yaml"}],"provenance":"source"},"affected":[{"ecosystem":"npm","package":"netmask","vulnerableRanges":["<1.1.0"],"patched":["1.1.0"],"from":["GHSA-4c7m-wxvm-r7gc"],"provenance":"source"}],"summary":{"text":"Improper input validation of octal strings in the netmask npm package, version 1.0.6 and below, is the flaw. It lives in the netmask library, which is depended on by many other npm packages. A remote, unauthenticated attacker can exploit it to carry out indeterminate SSRF, RFI, and LFI attacks against dependent packages, bypassing IP filtering that relies on netmask to reach internal VPN or LAN hosts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:21Z"},"euvd":{"id":"EUVD-2021-0754","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-netmask-cve-2021-29418","children":[{"from":"CVE-2021-28918","to":"CVE-2021-29418","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2021-28918.","from":"CVE.org","in":"CVE-2021-29418"},{"kind":"osv-related","provenance":"source","id":"GHSA-4c7m-wxvm-r7gc","via":"reference","url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r"}]}]}}