Skip to content
OpenAdvisories
Critical · 9.1 Scanner template CVE-2021-28918 CVE-2021-29418EUVD-2021-0754GHSA-4c7m-wxvm-r7gcGHSA-pch5-whg9-qr2r

Improper parsing of octal bytes in netmask

Published Apr 1, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

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.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm netmask < 1.1.0 1.1.0 GHSA-4c7m-wxvm-r7gc
npm netmask < 2.0.1 2.0.1 GHSA-pch5-whg9-qr2r

Advisories 1

References