8.8
Advisory Published
CVE Published
CVE Published
Updated

CVE-2023-32006

First published: Thu Aug 10 2023(Updated: )

Node.js could allow a remote attacker to bypass security restrictions, caused by the use of module.constructor.createRequire(). By sending a specially crafted request, an attacker could exploit this vulnerability to bypass the permission policy mechanism.

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

Affected SoftwareAffected VersionHow to fix
Nodejs Node.js>=16.0.0<=16.20.1
Nodejs Node.js>=18.0.0<=18.17.0
Nodejs Node.js>=20.0.0<=20.5.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
ubuntu/nodejs<12.22.9~dfsg-1ubuntu3.6
12.22.9~dfsg-1ubuntu3.6
ubuntu/nodejs<18.13.0+dfsg1-1ubuntu2.3
18.13.0+dfsg1-1ubuntu2.3
debian/nodejs<=12.22.12~dfsg-1~deb11u4
18.19.0+dfsg-6~deb12u2
18.19.0+dfsg-6~deb12u1
20.14.0+dfsg-3
20.15.0+dfsg-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-2023-32006?

    CVE-2023-32006 refers to a vulnerability that allows the bypassing of the policy mechanism in Node.js, potentially allowing modules to be required outside of the defined policy.

  • Who is affected by CVE-2023-32006?

    This vulnerability affects all users of Node.js who are using the experimental policy mechanism in versions 16.x, 18.x, and 20.x.

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

    CVE-2023-32006 has a severity rating of 8.8 (high).

  • How can CVE-2023-32006 be exploited?

    CVE-2023-32006 can be exploited by utilizing the `module.constructor.createRequire()` function to require modules that are not defined in the policy.json file.

  • Are there any references for CVE-2023-32006?

    Yes, you can find more information about CVE-2023-32006 at the following references: [Link1](https://hackerone.com/reports/2043807), [Link2](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JQPELKG2LVTADSB7ME73AV4DXQK47PWK/), [Link3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PBOZE2QZIBLFFTYWYN23FGKN6HULZ6HX/)

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