SecurityContext

CVE-2021-29418: netmask - Authentication Bypass

  • Cve: CVE-2021-29418
  • Name: netmask - Authentication Bypass
  • Description: 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.
  • Impact: Attackers can bypass IP-based access control, potentially gaining unauthorized access to restricted resources.
  • Remediation: Update to version 2.0.1 or later.
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.0151
  • Epss percentile: 0.75107
  • Assignee: [email protected]
  • Published at: 2021-03-30T07:15:13Z
  • Age in days: 2065
  • Modified at: 2026-06-17T03:47:36Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29418
  • Nvd status: modified
  • Checked, none or zero: vulnerability impact, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-20Improper Input Validation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/rs/node-netmask/commit/3f19a056c4eb808ea4a29f234274c67bc5a848f4Patch, Third Party Advisory
https://security.netapp.com/advisory/ntap-20210604-0001/Third Party Advisory
https://vuln.ryotak.me/advisories/6Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
netmask_project:netmask< 2.0.1nonvd/v1/products/netmask_project/netmask

Projects

RepositoryLink kindsIndexedUrl
rs/node-netmaskcommityes/v1/repositories/rs/node-netmask

Index

  • Repositories: 39
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts