ADVISORIES

Vulnerability

CVE-2021-29418

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity npm 2

Advisories

  • GHSA-4c7m-wxvm-r7gc

    Improper parsing of octal bytes in netmask

    Critical CVE-2021-28918CVE-2021-29418 npm Updated 10 September 2026
  • GHSA-pch5-whg9-qr2r

    netmask npm package mishandles octal input data

    Moderate CVE-2021-28918CVE-2021-29418 npm Updated 10 September 2026

References