CVE-2024-32005
Python vulnerability analysis and mitigation

Overview

NiceGUI, a Python-based UI framework, was found to contain a local file inclusion vulnerability (CVE-2024-32005) in its leaflet component. The vulnerability was discovered and disclosed on April 12, 2024, affecting versions up to 1.4.20 (from 1.4.6). The vulnerability exists in the route /_nicegui/{__version__}/resources/{key}/{path:path} which could allow attackers to access unauthorized files on the backend filesystem (GitHub Advisory).

Technical details

The vulnerability is classified as a path traversal issue (CWE-23 and CWE-22) that allows unauthorized access to files through the NiceUI leaflet component. The severity is rated as HIGH with a CVSS v3.1 base score of 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L). The vulnerability enables attackers to read any file that the web server has access to through the affected route (GitHub Advisory).

Impact

The vulnerability allows unauthorized access to any file on the backend filesystem that the web server has access to, potentially exposing sensitive information. This represents a significant confidentiality breach as indicated by the CVSS metrics showing High impact on confidentiality and Low impact on availability (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.4.21 with an additional check of the requested file path. Users are strongly advised to upgrade to this version. There are no known workarounds for this vulnerability other than upgrading to the patched version (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management