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.
Recommendation
Update the netmask package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.1.0
- Patched version(s): 1.1.0
References
Could your website be exposed too?
SmartScanner can check your website for Improper parsing of octal bytes in netmask and gives you actionable findings to investigate.
Start a free scanRelated Issues
- netmask npm package mishandles octal input data - CVE-2021-29418
- Improper Input Validation in sanitize-html - CVE-2021-26539
- Improper Input Validation in is-email - CVE-2021-36716
- Improper Certificate Validation in xmlhttprequest-ssl - CVE-2021-31597


