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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 IDSNYK-PYTHON-NICEGUI-6613067
  • published14 Apr 2024
  • disclosed12 Apr 2024
  • creditsunriseXu

Introduced: 12 Apr 2024

CVE-2024-32005  (opens in a new tab)
CWE-23  (opens in a new tab)

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

CVSS Scores

version 3.1