CVE-2021-28918: Input Validation
A flaw was found in nodejs-netmask. Octal input data may lead to a server-side request forgery, remote file inclusion, local file inclusion, and other vulnerabilities. The highest threat from this vulnerability is to data integrity.
Other sources
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.
netmask npm package is vulnerable to octal input data. This may lead to server-side request forgery, remote file inclusion, local file inclusion, and other vulnerabilities.
Reference: https://github.com/advisories/GHSA-pch5-whg9-qr2r
— Red Hat
Node.js netmask module is vulnerable to server-side request forgery, caused by the improper handling of mixed-format IP addresses. By using a specially-crafted argument using octal literals, an attacker could exploit this vulnerability to conduct SSRF, RFI, and LFI attacks to gain access to intranets, VPNs, containers, adjacent VPC instances, or LAN hosts.
— IBM
Affected Software
Event History
Frequently Asked Questions
What is CVE-2021-28918?
CVE-2021-28918 is a vulnerability in the Node.js netmask module that allows for server-side request forgery (SSRF) attacks.
How severe is CVE-2021-28918?
CVE-2021-28918 has a severity rating of 9.1 (critical).
Which software is affected by CVE-2021-28918?
The Netmask Project's Netmask module version 1.0.6, IBM Cognos Analytics 11.2.x, and IBM Cognos Analytics 11.1.x are affected by CVE-2021-28918.
What is the risk associated with CVE-2021-28918?
CVE-2021-28918 allows attackers to conduct SSRF, RFI, and LFI attacks to gain unauthorized access to intranet resources.
How can I mitigate CVE-2021-28918?
To mitigate CVE-2021-28918, update the Netmask module to a version that has fixed the vulnerability or apply the necessary security patches provided by IBM for Cognos Analytics 11.2.x and 11.1.x.