CVE-2024-32005:
NiceGUI allows potential access to local file system
8.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.1485%
CWE
Published
4/12/2024
Updated
4/15/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
nicegui | pip | >= 1.4.6, < 1.4.21 | 1.4.21 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the _get_resource function handling user-supplied 'path' parameters in resource requests. The GitHub patch adds a critical path resolution check (relative_to) to prevent directory traversal, confirming this was the vulnerable function. The CWE-22/CWE-23 alignment and commit diff directly implicate this function as the attack vector for local file inclusion.