CWE
20
Advisory Published
Advisory Published
CVE Published
Updated

CVE-2021-29418: Input Validation

First published: Mon Mar 29 2021(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
npm/netmask<2.0.1
2.0.1
IBM Cognos Analytics 11.2.x<=IBM Cognos Analytics 11.2.x
IBM Cognos Analytics 11.1.x<=IBM Cognos Analytics 11.1.x
<2.0.1
Netmask Project Netmask<2.0.1
redhat/nodejs-netmask<2.0.1
2.0.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2021-29418?

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

  • What is the severity of CVE-2021-29418?

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

  • 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.

  • How can CVE-2021-29418 be exploited?

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203