Relative Path Traversal Affecting nicegui package, versions [1.4.6,1.4.21)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Confidentiality High

    Threat Intelligence

    EPSS 0.05% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-NICEGUI-6613067
  • published 14 Apr 2024
  • disclosed 12 Apr 2024
  • credit sunriseXu

How to fix?

Upgrade nicegui to version 1.4.21 or higher.

Overview

nicegui is a Create web-based user interfaces with Python. The nice way.

Affected versions of this package are vulnerable to Relative Path Traversal due to the handling of resource files under the /_nicegui/{__version__}/resources/{key}/{path:path} route. An attacker can read any file on the backend filesystem which the web server has access to by accessing the NiceUI leaflet website.

References