{"api_version":"1","generated_at":"2026-07-23T15:00:51+00:00","cve":"CVE-2021-28918","urls":{"html":"https://cve.report/CVE-2021-28918","api":"https://cve.report/api/cve/CVE-2021-28918.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28918","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918"},"summary":{"title":"CVE-2021-28918","description":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-04-01 13:15:00","updated_at":"2023-08-08 14:22:00"},"problem_types":["CWE-704"],"metrics":[],"references":[{"url":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/","name":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/","refsource":"MISC","tags":[],"title":"Critical netmask networking bug impacts thousands of applications","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/","name":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/","refsource":"MISC","tags":[],"title":"Vulnerability in ‘netmask’ npm Package Affects 280,000 Projects","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md","name":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md","refsource":"MISC","tags":[],"title":"security/SICK-2021-011.md at master · sickcodes/security · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/rs/node-netmask","name":"https://github.com/rs/node-netmask","refsource":"MISC","tags":[],"title":"GitHub - rs/node-netmask: Parse and lookup IP network blocks","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r","name":"https://github.com/advisories/GHSA-pch5-whg9-qr2r","refsource":"MISC","tags":[],"title":"netmask npm package vulnerable to octal input data · CVE-2021-28918 · GitHub Advisory Database · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.npmjs.com/package/netmask","name":"https://www.npmjs.com/package/netmask","refsource":"MISC","tags":[],"title":"netmask  -  npm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.netapp.com/advisory/ntap-20210528-0010/","name":"https://security.netapp.com/advisory/ntap-20210528-0010/","refsource":"CONFIRM","tags":[],"title":"CVE-2021-28918 Node.js Vulnerability in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28918","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"28918","vulnerable":"1","versionEndIncluding":"1.0.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netmask_project","cpe5":"netmask","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-28918","qid":"375431","title":"Npm Package Netmask Octal Input Data Vulnerability"},{"cve":"CVE-2021-28918","qid":"982376","title":"Nodejs (npm) Security Update for netmask (GHSA-4c7m-wxvm-r7gc)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-28918","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://www.npmjs.com/package/netmask","refsource":"MISC","name":"https://www.npmjs.com/package/netmask"},{"url":"https://github.com/rs/node-netmask","refsource":"MISC","name":"https://github.com/rs/node-netmask"},{"refsource":"MISC","name":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/","url":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/"},{"refsource":"MISC","name":"https://github.com/advisories/GHSA-pch5-whg9-qr2r","url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r"},{"refsource":"MISC","name":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md","url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20210528-0010/","url":"https://security.netapp.com/advisory/ntap-20210528-0010/"},{"refsource":"MISC","name":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/","url":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/"}]}},"nvd":{"publishedDate":"2021-04-01 13:15:00","lastModifiedDate":"2023-08-08 14:22:00","problem_types":["CWE-704"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":9.1,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":6.4},"severity":"MEDIUM","exploitabilityScore":10,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netmask_project:netmask:*:*:*:*:*:node.js:*:*","versionEndIncluding":"1.0.6","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"28918","Ordinal":"204094","Title":"CVE-2021-28918","CVE":"CVE-2021-28918","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"28918","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"28918","Ordinal":"2","NoteData":"2021-04-01","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"28918","Ordinal":"3","NoteData":"2021-12-30","Type":"Other","Title":"Modified"}]}}}