7.5
Advisory Published
CVE Published
Updated

CVE-2023-30581

First published: Tue Jun 20 2023(Updated: )

A vulnerability has been discovered in Node.js, where the use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json definition.

Credit: support@hackerone.com

Affected SoftwareAffected VersionHow to fix
redhat/nodejs<18-9020020230717125503.rhel9
18-9020020230717125503.rhel9
redhat/nodejs<1:16.20.1-1.el9_2
1:16.20.1-1.el9_2
redhat/nodejs<1:16.20.2-1.el9_0
1:16.20.2-1.el9_0
Nodejs Node.js>=16.0.0<16.20.1
Nodejs Node.js>=18.0.0<18.16.1
Nodejs Node.js>=20.0.0<20.3.1
<=2.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.

Frequently Asked Questions

  • What is CVE-2023-30581?

    CVE-2023-30581 is a vulnerability that allows the use of __proto__ to bypass the policy mechanism in Node.js.

  • What is the severity of CVE-2023-30581?

    The severity of CVE-2023-30581 is high with a score of 7.5.

  • What software is affected by CVE-2023-30581?

    Node.js versions 16, 18, and 20 are affected by CVE-2023-30581.

  • How can CVE-2023-30581 be exploited?

    CVE-2023-30581 can be exploited by using __proto__ in process.mainModule.__proto__.require() to require modules outside of the policy.json definition.

  • How can I fix CVE-2023-30581?

    To fix CVE-2023-30581, it is recommended to update to the latest version of Node.js or apply the appropriate patches provided by the vendor.

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