PT-2024-24354 · Nicegui · Nicegui

Sunrisexu

·

Published

2024-04-12

·

Updated

2024-04-15

·

CVE-2024-32005

CVSS v3.1

8.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Name of the Vulnerable Software and Affected Versions NiceGUI versions prior to 1.4.21
Description 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 that the web server has access to can be read by an attacker with access to the NiceUI leaflet website.
Recommendations For versions prior to 1.4.21, upgrade to version 1.4.21 or later to address the vulnerability. As a temporary workaround, consider restricting access to the / nicegui/{ version }/resources/{key}/{path:path} route until the upgrade is applied.

Exploit

Fix

Path traversal

Relative Path Traversal

Weakness Enumeration

Related Identifiers

CVE-2024-32005
GHSA-MWC7-64WG-PGVJ

Affected Products

Nicegui