PT-2023-9651 · Node.Js · Node.Js
Axel Chong
·
Publicado
2023-06-25
·
Atualizado
2025-07-03
·
CVE-2023-32003
CVSS v3.1
5.3
Média
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Node.js versions 20
Description
The issue arises from a missing check in the
fs.mkdtemp() API, allowing a malicious actor to bypass the permission model check using a path traversal attack. This can lead to the creation of an arbitrary directory. The vulnerability affects all users using the experimental permission model in Node.js.Recommendations
For Node.js version 20, consider disabling the
fs.mkdtemp() and fs.mkdtempSync() functions until a patch is available to prevent exploitation. Restrict access to the vulnerable API endpoints to minimize the risk of arbitrary directory creation.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Path traversal
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Node.Js