CWE
295 20
Advisory Published
CVE Published
Updated

CVE-2021-22939: Input Validation

First published: Wed Aug 11 2021(Updated: )

Node.js could allow a remote attacker to bypass security restrictions. If the https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, an attacker could exploit this vulnerability to connect to servers using an expired certificate.

Credit: support@hackerone.com support@hackerone.com

Affected SoftwareAffected VersionHow to fix
redhat/rh-nodejs14-nodejs<0:14.17.5-1.el7
0:14.17.5-1.el7
redhat/rh-nodejs12-nodejs<0:12.22.5-1.el7
0:12.22.5-1.el7
redhat/rh-nodejs12-nodejs-nodemon<0:2.0.3-5.el7
0:2.0.3-5.el7
redhat/nodejs<12.22.5
12.22.5
redhat/nodejs<14.17.5
14.17.5
redhat/nodejs<16.6.2
16.6.2
>=12.0.0<12.22.5
>=14.0.0<14.17.5
>=16.0.0<16.6.2
=20.3.3
=21.2.0
<=9.2.6.1
<=8.0.26
=8.57
=8.58
=8.59
<1.0.1.1
=10.0
Nodejs Node.js>=12.0.0<12.22.5
Nodejs Node.js>=14.0.0<14.17.5
Nodejs Node.js>=16.0.0<16.6.2
Oracle GraalVM=20.3.3
Oracle GraalVM=21.2.0
Oracle Jd Edwards Enterpriseone Tools<=9.2.6.1
Oracle MySQL Cluster<=8.0.26
Oracle PeopleSoft Enterprise PeopleTools=8.57
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle PeopleSoft Enterprise PeopleTools=8.59
Netapp Nextgen Api
Siemens Sinec Infrastructure Network Services<1.0.1.1
Debian Debian Linux=10.0

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

Frequently Asked Questions

  • What is CVE-2021-22939?

    CVE-2021-22939 is a vulnerability in Node.js where if the HTTPS API is used incorrectly and "undefined" is passed for the "rejectUnauthorized" parameter, connections to servers with an expired certificate are accepted.

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

    The severity of CVE-2021-22939 is low with a CVSS score of 3.7.

  • How does CVE-2021-22939 affect Node.js?

    CVE-2021-22939 allows connections to servers with an expired certificate to be accepted if the HTTPS API is used incorrectly.

  • Which versions of Node.js are affected by CVE-2021-22939?

    Node.js versions 12.22.5, 14.17.5, and 16.6.2 are affected by CVE-2021-22939.

  • How do I fix CVE-2021-22939?

    To fix CVE-2021-22939, upgrade Node.js to version 12.22.5, 14.17.5, or 16.6.2.

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