Skip to content

CVE-2021-28918 Improper parsing of octal bytes in netmask

CriticalCVSS 9.1 EPSS 15.0% Scanner template
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
netmask project netmask <= 1.0.6 after 1.0.6 Fixed
npm netmask(npm) < 1.1.0 1.1.0 Fixed

Affected products

ProductAffected versionsFixed in
npm netmask(npm) < 1.1.0 1.1.0
netmask project netmask <= 1.0.6 No fix listed

References