{"id":"CVE-2021-28918","aliases":[],"summary":"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 depende...","published_at":"2021-03-29T00:00:00Z","modified_at":"2026-02-02T07:28:10.578778Z","products":[],"rating":{"severity":"critical","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[{"source":"nuclei-templates","id":"http/cves/2021/CVE-2021-28918","name":"Netmask NPM Package - Server-Side Request Forgery","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-28918.yaml","verified":false}],"epss":{"score":0.15037000179290771,"percentile":0.9679399728775024,"date":"2026-11-19T00:00:00Z"},"priority":12.35,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"netmask_project:netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.6"}]}],"provider":"nvd","source":"CVE-2021-28918","relation":"self"},{"ecosystem":"TuxCare:npm","package":"netmask","purl":"pkg:npm/netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.6-tuxcare.0"},{"fixed":"1.0.6-tuxcare.1"}]}],"versions":["1.0.6"],"fixed":["1.0.6-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1776904637","relation":"upstream"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/application-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-28918"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-header-rhel8","rhacm2/grc-ui-rhel8","rhacm2/mcm-topology-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-28918"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-1354","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-1354","license":"TLP:CLEAR, mirroring permitted","published_at":"2021-05-04T22:00:00Z","modified_at":"2026-09-03T22:00:00Z","summary":"Red Hat Enterprise Linux: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in Red Hat Enterprise Linux ausnutzen, um beliebigen Programmcode auszuführen, Informationen offenzulegen, einen Denial of Service Zustand herbeizuführen, Dateien zu manipulieren oder Sicherheitsvorkehrungen zu umgehen.\n\nRed Hat Enterprise Linux (RHEL) ist eine populäre Linux-Distribution.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2022-1354"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2021/wid-sec-w-2022-1354.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-1354"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:1499"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:2461"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:2865"},{"type":"WEB","url":"https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0090800"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3016"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3281"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3280"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:3759"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2021:4626"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:0350"},{"type":"WEB","url":"http://linux.oracle.com/errata/ELSA-2022-0350.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:6393"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:6595"},{"type":"WEB","url":"https://www.jfrog.com/confluence/display/JFROG/Fixed+Security+Vulnerabilities"},{"type":"WEB","url":"https://support.hcl-software.com/community?id=community_blog&sys_id=ad96310c330eb690159a05273e5c7b0c"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2737"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:2769"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-2783.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-2782.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-47059.html"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-62219-0.html"}]},{"provider":"osv","source_id":"CLSA-2026-1776904637","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1776904637","published_at":"2026-08-04T14:52:28Z","modified_at":"2026-10-15T09:47:49.992353Z","summary":"TuxCare security update for netmask (2 CVEs)","details":"TuxCare rebuilt netmask to address 2 CVEs. Fixed in 1.0.6-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"netmask","purl":"pkg:npm/netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.6-tuxcare.0"},{"fixed":"1.0.6-tuxcare.1"}]}],"versions":["1.0.6"],"fixed":["1.0.6-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1776904637","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2021-28918","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-28918","license":"CC-BY-4.0","published_at":"2021-04-01T12:33:50Z","modified_at":"2024-08-03T21:55:11.828Z","summary":"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 depende...","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/netmask"},{"type":"WEB","url":"https://github.com/rs/node-netmask"},{"type":"WEB","url":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/"},{"type":"WEB","url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r"},{"type":"WEB","url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210528-0010/"},{"type":"WEB","url":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/"}]},{"provider":"nvd","source_id":"CVE-2021-28918","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918","severity":[],"affected":[{"ecosystem":"NVD","package":"netmask_project:netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.6"}]}],"provider":"nvd","source":"CVE-2021-28918","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2021-28918","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-28918","license":"CC-BY-4.0","published_at":"2021-03-29T00:00:00Z","modified_at":"2026-02-02T07:28:10.578778Z","summary":"nodejs-netmask: improper input validation of octal input data","details":"A flaw was found in nodejs-netmask. Octal input data may lead to a server-side request forgery, remote file inclusion, local file inclusion, and other vulnerabilities. The highest threat from this vulnerability is to data integrity.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CVE-2021-28918"},{"type":"Red Hat","score":"Important","source":"CVE-2021-28918"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/application-ui-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Fix deferred","provider":"redhat-vex","source":"CVE-2021-28918"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/console-header-rhel8","rhacm2/grc-ui-rhel8","rhacm2/mcm-topology-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-28918"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-28918.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-28918"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1944827"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-28918"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918"},{"type":"WEB","url":"https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918"}]}],"references":[{"type":"WEB","url":"https://www.npmjs.com/package/netmask"},{"type":"WEB","url":"https://github.com/rs/node-netmask"},{"type":"WEB","url":"https://www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-of-applications/"},{"type":"WEB","url":"https://github.com/advisories/GHSA-pch5-whg9-qr2r"},{"type":"WEB","url":"https://github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210528-0010/"},{"type":"WEB","url":"https://rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-28918.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-28918"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1944827"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-28918"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918"},{"type":"WEB","url":"https://sick.codes/universal-netmask-npm-package-used-by-270000-projects-vulnerable-to-octal-input-data-server-side-request-forgery-remote-file-inclusion-local-file-inclusion-and-more-cve-2021-28918"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-1354","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-1354","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-09-03T22:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1776904637","url":"https://osv.dev/vulnerability/CLSA-2026-1776904637","modified_at":"2026-10-15T09:47:49.992353Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-28918","url":"https://www.cve.org/CVERecord?id=CVE-2021-28918","license":"CC-BY-4.0","modified_at":"2024-08-03T21:55:11.828Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-28918","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28918","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-28918","url":"https://access.redhat.com/security/cve/CVE-2021-28918","license":"CC-BY-4.0","modified_at":"2026-02-02T07:28:10.578778Z","relation":"self"}]}
