{"id":"CVE-2021-29418","aliases":[],"summary":"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.","published_at":"2021-03-29T00:00:00Z","modified_at":"2024-08-03T22:02:51.874Z","products":[],"rating":{"severity":"medium","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01510000042617321,"percentile":0.7499200105667114,"date":"2026-11-19T00:00:00Z"},"priority":7.3,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"NVD","package":"netmask_project:netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"nvd","source":"CVE-2021-29418","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-29418"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/grc-ui-rhel8","rhacm2/mcm-topology-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-29418"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-header-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-29418"}],"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-29418","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-29418","license":"CC-BY-4.0","published_at":"2021-03-30T06:08:00Z","modified_at":"2024-08-03T22:02:51.874Z","summary":"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.","details":"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.","severity":[],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4"},{"type":"WEB","url":"https://vuln.ryotak.me/advisories/6"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210604-0001/"}]},{"provider":"nvd","source_id":"CVE-2021-29418","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29418","severity":[],"affected":[{"ecosystem":"NVD","package":"netmask_project:netmask","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"fixed":["2.0.1"],"provider":"nvd","source":"CVE-2021-29418","relation":"self"}],"product_status":[],"references":[]},{"provider":"redhat-vex","source_id":"CVE-2021-29418","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-29418","license":"CC-BY-4.0","published_at":"2021-03-29T00:00:00Z","modified_at":"2021-08-06T00:50:50Z","summary":"nodejs-netmask: incorrectly parses an IP address that has octal integer with invalid character","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"CVE-2021-29418"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-29418"}],"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-29418"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"affected","packages":["rhacm2/grc-ui-rhel8","rhacm2/mcm-topology-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2021-29418"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-header-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-29418"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29418.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-29418"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1944822"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-29418"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29418"},{"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://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4"},{"type":"WEB","url":"https://vuln.ryotak.me/advisories/6"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20210604-0001/"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-29418.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-29418"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1944822"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-29418"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29418"},{"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-29418","url":"https://www.cve.org/CVERecord?id=CVE-2021-29418","license":"CC-BY-4.0","modified_at":"2024-08-03T22:02:51.874Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-29418","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29418","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-29418","url":"https://access.redhat.com/security/cve/CVE-2021-29418","license":"CC-BY-4.0","modified_at":"2021-08-06T00:50:50Z","relation":"self"}]}
