Advisory

GHSA-6q65-j4jw-9cg8

Also known as: None

Summary

DotVVM allows path traversal when deployed in Debug mode

Details

Description

There is a path traversal vulnerability in any DotVVM application started in Debug mode, if at least one resource with the FileResourceLocation has been added. The vulnerability allows an attacker to read arbitrary files from the filesystem accessible by the web application (i.e. appsettings.json or other files containing secrets).

Patches

The bug is patched in versions 4.2.10, 4.3.8 and 5.0.0-preview03-final (and newer).

Apart from updating DotVVM, it is also recommend invalidating any secrets which could have been leaked by an application deployed in Debug mode (such as database passwords).

Workarounds

If you cannot update to a patched version, avoid running a publicly accessible DotVVM application in Debug mode (Development environment in Asp.Net Core). It is recommend adding the following statement to the DotvvmStartup class:

    config.Debug = false; // TODO: workaround for GHSA-6q65-j4jw-9cg8, remove after updating DotVVM

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-06-19 14:40 UTC
Modified
2025-06-19 15:01 UTC

Affected packages and fixes

DotVVM

NuGet · All systems

Affected

  • introduced 4.3.0-preview01-final, fixed 4.3.8 (ecosystem)

Fixed versions

4.3.8

Fix

The export has no generic command for this ecosystem.

DotVVM

NuGet · All systems

Affected

  • introduced 5.0.0-preview01-final, fixed 5.0.0-preview03-final (ecosystem)

Fixed versions

5.0.0-preview03-final

Fix

The export has no generic command for this ecosystem.

DotVVM

NuGet · All systems

Affected

  • introduced 0, fixed 4.2.10 (ecosystem)

Fixed versions

4.2.10

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences