7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
3 packages
- python312Packages.nicegui-highcharts
- python314Packages.nicegui-highcharts
- python313Packages.nicegui-highcharts
- @LeSuisse accepted
- @LeSuisse published on GitHub
NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()
NiceGUI is a Python-based UI framework. Prior to version 3.12.0, ui.restructured_text() renders reStructuredText server-side with Docutils without disabling file insertion directives. When a NiceGUI application passes attacker-controlled content to ui.restructured_text(), an attacker can use standard Docutils directives (include, csv-table with :file:, raw with :file:) to read local files readable by the NiceGUI server process. Applications that only pass trusted static strings to ui.restructured_text() are not affected. This issue has been patched in version 3.12.0.
References
-
https://github.com/zauberzeug/nicegui/security/advisories/GHSA-jfrm-rx66-g536 x_refsource_CONFIRM
-
https://github.com/zauberzeug/nicegui/releases/tag/v3.12.0 x_refsource_MISC
Affected products
- ==< 3.12.0
Matching in nixpkgs
pkgs.python312Packages.nicegui
Module to create web-based user interfaces
pkgs.python313Packages.nicegui
Module to create web-based user interfaces
pkgs.python314Packages.nicegui
Module to create web-based user interfaces
Ignored packages (3)
pkgs.python312Packages.nicegui-highcharts
NiceGUI with support for Highcharts
pkgs.python313Packages.nicegui-highcharts
NiceGUI with support for Highcharts
pkgs.python314Packages.nicegui-highcharts
NiceGUI with support for Highcharts
Package maintainers
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>