The netmask package before 2.0.1 for Node.js mishandles certain unexpected characters in…
Priority LOW 27CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
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. 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.
Why it matters now
EPSS 0.0151 74th percentileScored 2026-11-07
Fix Partial netmask (npm): 2.0.1Red Hat: 1 advisoryRed Hat: 1 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | netmask (npm) | before 2.0.1 | 2.0.1 | Patch available | GHSA-pch5-whg9-qr2r |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- netmask (npm) Vendor— Affected before 2.0.1 Fixed in 2.0.1 Patch available GHSA-pch5-whg9-qr2r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:netmask_project:netmask:*:*:*:*:*:node.js:*:* | before 2.0.1 | Vulnerable | Netmask Project |
- cpe:2.3:a:netmask_project:netmask:*:*:*:*:*:node.js:*:* Versions before 2.0.1 Vulnerable ·Netmask Project
Remediation
- Fix · GHSA-pch5-whg9-qr2r netmask (npm) Fixed in 2.0.1 Advisory →
Red Hat 1 advisory
- RHSA-2021:1499 Released 2021-05-04 · Red Hat rating ModerateRed Hat Advanced Cluster Management 2.2.3 security and bug fix update
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 7 rhacm2/management-ingress-rhel7, rhacm2/memcached-exporter-rhel7, rhacm2/openshift-hive-rhel7 +2
- Red Hat Advanced Cluster Management for Kubernetes 2.2 for RHEL 8 rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle, rhacm2/acmesolver-rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Advanced Cluster Management for Kubernetes 2
Timeline
- 2026-10-02 Threatist record created from CVE-2021-29418
- 2026-10-03 Alias added: GHSA-pch5-whg9-qr2r
References
Advisory 3
Other 4
- https://security.netapp.com/advisory/ntap-20210604-0001
- https://sick.codes/sick-2021-011
- 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
- https://www.npmjs.com/package/netmask
More Netmask Project Netmask vulnerabilities
- TI-2021-09864 Improper input validation of octal strings in netmask npm package v1.0.6 and below allows… CVSS 3.1CRITICAL 9.1
Sources
- CVE-2021-29418 · CVE Program
- CVE-2021-29418 · NVD
- FIRST EPSS
- GHSA-pch5-whg9-qr2r · GitHub Advisory Database · CC BY 4.0
- CVE-2021-29418 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences