cve/2024/CVE-2024-32005.md

19 lines
1.2 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-32005](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32005)
![](https://img.shields.io/static/v1?label=Product&message=nicegui&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%201.4.6%2C%20%3C%201.4.21%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-22%3A%20Improper%20Limitation%20of%20a%20Pathname%20to%20a%20Restricted%20Directory%20('Path%20Traversal')&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-23%3A%20Relative%20Path%20Traversal&color=brighgreen)
### 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.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/sunriseXu/sunriseXu