CWE
22
Advisory Published
Updated

CVE-2023-32003: Path Traversal

First published: Tue Aug 15 2023(Updated: )

`fs.mkdtemp()` and `fs.mkdtempSync()` can be used to bypass the permission model check using a path traversal attack. This flaw arises from a missing check in the fs.mkdtemp() API and the impact is a malicious actor could create an arbitrary directory. This vulnerability affects all users using the experimental permission model in Node.js 20. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

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

Affected SoftwareAffected VersionHow to fix
Nodejs Node.js>=20.0.0<=20.5.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
<=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.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID for this vulnerability?

    The vulnerability ID for this vulnerability is CVE-2023-32003.

  • What is the title of this vulnerability?

    The title of this vulnerability is 'fs.mkdtemp() and fs.mkdtempSync() can be used to bypass the permission model check using a path traversal attack.'

  • How can this vulnerability be exploited?

    This vulnerability can be exploited by using a path traversal attack to bypass the permission model check in the fs.mkdtemp() API.

  • Which software is affected by this vulnerability?

    This vulnerability affects Node.js versions 20.0.0 to 20.5.0 and Fedora versions 37 and 38.

  • What is the severity of this vulnerability?

    The severity of this vulnerability is medium, with a CVSS score of 5.3.

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