CVE-2021-29418: Input Validation

Published Mar 29, 2021
·
Updated

Node.js netmask module could allow a remote attacker to bypass security restrictions, caused by improper handling of certain unexpected characters in an IP address string. By using a specially-crafted argument using octal literals, an attacker could exploit this vulnerability to bypass access control that is based on IP addresses.

Other sources

The netmask package before 2.0.1 for Node.js mishandles certain unexpected characters in an IP address string, such as an octal digit of 9. This (in some situations) allows attackers to bypass access control that is based on IP addresses. NOTE: this issue exists because of an incomplete fix for CVE-2021-28918.

Affected Software

5 affected componentsFixes available
npm/netmask<2.0.1
2.0.1
redhat/nodejs-netmask<2.0.1
2.0.1
Netmask Project Netmask Node.js<2.0.1
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
Advisory Published
09:32 PM
Mar 30, 2021
CVE Published
via MITRE·06:08 AM
Data Sourced
via MITRE·06:08 AM
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-29418?

CVE-2021-29418 is a vulnerability in the netmask package before version 2.0.1 for Node.js.

2

What is the severity of CVE-2021-29418?

CVE-2021-29418 has a severity score of 9.1 (critical).

3

How does CVE-2021-29418 affect Node.js?

CVE-2021-29418 in the netmask package for Node.js allows a remote attacker to bypass security restrictions by exploiting improper handling of certain unexpected characters in an IP address string.

4

How can CVE-2021-29418 be exploited?

CVE-2021-29418 can be exploited by using a specially-crafted argument using octal literals.

5

How can I fix CVE-2021-29418?

To fix CVE-2021-29418, update the netmask package to version 2.0.1 or later.

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