Описание
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
A flaw was found in Vite. The development server's handling of .map requests contains a path traversal vulnerability. A remote attacker can exploit this by sending a specially crafted request with directory traversal sequences (../) to bypass security restrictions. This allows the attacker to retrieve .map files located outside the project's intended directory, leading to information disclosure.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat Advanced Cluster Security 4 | rhacs-eng/release-main | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | automation-controller | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | automation-eda-controller | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | automation-gateway | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | automation-platform-ui | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | redhat-user-workloads/gateway-rhel9 | Fix deferred | ||
| Red Hat Ansible Automation Platform 2 | redhat-user-workloads/mcp-server-rhel9 | Fix deferred | ||
| Red Hat Build of Keycloak | vite | Fix deferred | ||
| Red Hat Build of Podman Desktop | podman-desktop-macos-1-0 | Fix deferred | ||
| Red Hat Build of Podman Desktop | podman-desktop-windows-1-0 | Fix deferred |
Показывать по
Дополнительная информация
Статус:
EPSS
5.3 Medium
CVSS3
Связанные уязвимости
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to bef ...
Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
Уязвимость локального сервера разработки приложений Vite и Vite+, связанная с неверным ограничением имени пути к каталогу, позволяющая нарушителю раскрыть защищаемую информацию
EPSS
5.3 Medium
CVSS3