GHSA-4c7m-wxvm-r7gc

    Dashboard / Vulnerabilities / GHSA-4c7m-wxvm-r7gc

    GHSA-4c7m-wxvm-r7gc

    Published: 14 Apr 2021Last Modified: 10 Sept 2026

    Summary: Improper parsing of octal bytes in netmask

    Details: Improper input validation of octal strings in netmask npm package v1.0.6 and below allows unauthenticated remote attackers to perform indeterminate SSRF, RFI, and LFI attacks on many of the dependent packages. A remote unauthenticated attacker can bypass packages relying on netmask to filter IPs and reach critical VPN or LAN hosts. :exclamation: NOTE: The fix for this issue was incomplete. A subsequent fix was made in version `2.0.1` which was assigned [CVE-2021-29418 / GHSA-pch5-whg9-qr2r](https://github.com/advisories/GHSA-pch5-whg9-qr2r). For complete protection from this vulnerability an upgrade to version 2.0.1 or later is recommended.

    Affected packages

    Package

    Name: netmask

    Purl: pkg:npm/netmask

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.1.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-4c7m-wxvm-r7gc | CVE-DB