CVE-2024-32005 Local File Inclusion in NiceGUI leaflet component
HighCVSS 8.2
EPSS 0.76%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
Description
NiceGUI is an easy-to-use, Python-based UI framework. A local file inclusion is present in the NiceUI leaflet component when requesting resource files under the /_nicegui/{__version__}/resources/{key}/{path:path} route. As a result any file on the backend filesystem which the web server has access to can be read by an attacker with access to the NiceUI leaflet website. This vulnerability has been addressed in version 1.4.21. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi nicegui(PyPI) | = 1.4.6; = 1.4.7; = 1.4.8; = 1.4.9 +12 more | 1.4.21 | Fixed |
| zauberzeug nicegui | = >= 1.4.6, < 1.4.21; >= 1.4.6, < 1.4.21 | 1.4.21 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi nicegui(PyPI) | >= 1.4.6, < 1.4.21 | 1.4.21 |
| pypi nicegui(PyPI) | = 1.4.10 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.11 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.12 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.13 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.14 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.15 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.16 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.17 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.18 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.19 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.20 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.6 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.7 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.8 | No fix listed |
| pypi nicegui(PyPI) | = 1.4.9 | No fix listed |
| zauberzeug nicegui | = >= 1.4.6, < 1.4.21 | No fix listed |
| zauberzeug nicegui | >= 1.4.6, < 1.4.21 | 1.4.21 |
References
- https://github.com/zauberzeug/nicegui/security/advisories/GHSA-mwc7-64wg-pgvj vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/zauberzeug/nicegui/commit/ed12eb14f2a6c48b388a05c04b3c5a107ea9d330 patch
- github.com product
- https://huntr.com/bounties/29ec621a-bd69-4225-ab0f-5bb8a1d10c67 exploit
- pypi.org product
- github.com vendor-advisory