CVE-2024-31207

Vite's `server.fs.deny` did not deny requests for patterns with directories

State
Published
Severity
5.9 Medium
Published
Apr 4, 2024
Updated
Aug 2, 2024
Reserved
Mar 29, 2024

Read the record on cve.org

Description

Vite (French word for "quick", pronounced /vit/, like "veet") is a frontend build tooling to improve the frontend development experience.`server.fs.deny` does not deny requests for patterns with directories. This vulnerability has been patched in version(s) 5.2.6, 5.1.7, 5.0.13, 4.5.3, 3.2.10 and 2.9.18.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-284 Improper Access Control

Affected Products

ProductVersions
vitevitejs
  • >= 2.7.0, <= 2.9.17Affected
  • >= 3.0.0, <= 3.2.8Affected
  • >= 4.0.0, <= 4.5.2Affected
  • >= 5.0.0, <= 5.0.12Affected
  • >= 5.1.0, <= 5.1.6Affected
  • >= 5.2.0, <= 5.2.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.