Skip to main content
← All vulnerabilities
CVE-2021-29418GHSA-PCH5-WHG9-QR2RGHSA-4C7M-WXVM-R7GC

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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.1, 1.1.0
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • netmasknpm

    fixed in 2.0.1

  • netmasknpm

    fixed in 1.1.0

References 3

GitHub · rs/node-netmask

vuln.ryotak.me

security.netapp.com