High, CVSS 7.5PyPIAmendedPublished
Voilà Local file inclusion
CVE-2024-30265 · GHSA-2q59-h24c-w6fg
- Affected
- PyPI voila >= 0.0.2, < 0.2.17; >= 0.3.0a0, < 0.3.8; >= 0.4.0a0, < 0.4.4; >= 0.5.0a0, < 0.5.6
- Fixed in
- 0.2.170.5.60.4.40.3.8· Vendor fix available
- Issue
- Impact Any deployment of voilà dashboard allow local file inclusion, that is to say any file on a filesystem that is readable by the user that runs the voilà dashboard server can be downloaded by someone with network access to the server. Whether this still requires authentication depends on how voilà is deployed. Patches This is patched in 0.2.17+, 0.3.8+, 0.4.4+, 0.5.6+ Workarounds None. References CWE-73: External Control of File Name or Path Original report I have found a local file inclusion vulnerability in one of your subprojects, voila (https://github.com/voila-dashboards/voila). The vulnerability exists in the "/static" Route, and can be exploited by simply making a request such as this: ...or by using a webbrowser to download the file. I dug into the source code, and I think the offending line is here: https://github.com/voila-dashboards/voila/blob/8419cc7d79c0bb1dabfbd9ec49cb957740609d4d/voila/app.py#L664 "staticpath" gets set to "/", irrespective of the actual "--static"…
Recommended action: Upgrade to 0.5.6, 0.4.4, 0.3.8 or 0.2.17 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.