CVE-2021-28918: Input Validation

Published Mar 29, 2021
·
Updated

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

3 affected components
Netmask Project Netmask Node.js<=1.0.6
IBM Cognos Analytics<=11.2.0 - 11.2.2
IBM Cognos Analytics<=11.1.0 - 11.1.6 FP4

Event History

Mar 28, 2021
News Published
via BleepingComputer·08:20 PM
Mar 29, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Mar 30, 2021
Data Sourced
via Red Hat·06:05 PM
DescriptionSeverityAffected Software
Apr 1, 2021
CVE Published
via MITRE·12:33 PM
Data Sourced
via MITRE·12:33 PM
Description
Aug 3, 2024
News Published
via BleepingComputer·10:02 PM
Feb 23, 2026
Data Sourced
via IBM·11:32 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How severe is CVE-2021-28918?

CVE-2021-28918 has a severity rating of 9.1 (critical).

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203