CVE-2021-28918
Netmask Project Netmask vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Netmask. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Netmask Project Netmask runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-pch5-whg9-qr2r · Third Party Advisory
- github.com/rs/node-netmask · Third Party Advisory
- github.com/sickcodes/security/blob/master/advisories/SICK-2021-011.md · Exploit
- rootdaemon.com/2021/03/29/vulnerability-in-netmask-npm-package-affects-280000-projects/ · Third Party Advisory
- security.netapp.com/advisory/ntap-20210528-0010/ · Third Party Advisory
- www.bleepingcomputer.com/news/security/critical-netmask-networking-bug-impacts-thousands-o · Exploit
- www.npmjs.com/package/netmask · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-28918
- cve.org/CVERecord?id=CVE-2021-28918
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.