SB2024040382 - Improper access control in Vite
Published: April 3, 2024 Updated: April 8, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Improper access control (CVE-ID: CVE-2024-31207)
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper access control in the server.fs.deny file access restriction mechanism when handling requests for paths matching deny patterns with directories. A remote attacker can send a specially crafted request to disclose sensitive information.
Only applications that set a custom server.fs.deny pattern containing directories and explicitly expose the Vite dev server to the network are vulnerable.
Remediation
Install update from vendor's website.