p PatchFirst

CVE-2024-23331

CVE-2024-23331 · Vite dev server option `server.fs.deny` can be bypassed when hosted on case-insensitive filesystem

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

Vite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems using case-augmented versions of filenames. Notably this affects servers hosted on Windows. This bypass is similar to CVE-2023-34092 -- with surface area reduced to hosts having case-insensitive filesystems. Since `picomatch` defaults to case-sensitive glob matching, but the file server doesn't discriminate; a blacklist bypass is possible. By requesting raw filesystem paths using augmented casing, the matcher derived from `config.server.fs.deny` fails to block access to sensitive files. This issue has been addressed in [email protected], [email protected], [email protected], and [email protected]. Users are advised to upgrade. Users unable to upgrade should restrict access to dev servers.

CVSS 7.5 · Hoch · EPSS 0,8% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: node

Betroffene Produkte und Versionen

  • vite

    Softwareversionen
    • >=2.7.0, < 2.9.17: Betroffen
    • >=3.0.0, <3.2.8: Betroffen
    • >=4.0.0, < 4.5.2: Betroffen
    • >=5.0.0, < 5.0.12: Betroffen

    Keine Korrektur veröffentlicht

  • vite npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 2.7.0, < 2.9.17

    Auf 2.9.17 aktualisieren

  • vite npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 3.0.0, < 3.2.8

    Auf 3.2.8 aktualisieren

  • vite npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 4.0.0, < 4.5.2

    Auf 4.5.2 aktualisieren

  • vite npm

    Betroffene Versionsbereiche
    • SEMVER: ≥ 5.0.0, < 5.0.12

    Auf 5.0.12 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →