Description
Kangas before 2.4.12 contains an eval injection vulnerability that allows attackers to execute Python code by embedding malicious .show() arguments in DataGrid About text. Attackers can distribute crafted .datagrid files whose About text or filter expressions escape the replaced __builtins__ sandbox via attribute traversal in parse_args_kwargs(), running code as the Kangas server process.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
comet-ml Kangas
Default version status: unaffected
0 to < 2.4.12affected
pkg:pypi/kangasReferences
- https://github.com/comet-ml/kangas/issues/132 ↗
- https://github.com/comet-ml/kangas/security/advisories/GHSA-x495-684r-696h ↗
- https://github.com/comet-ml/kangas/commit/42df8ed795bbf9490df902153668c1b157416404 ↗
- https://github.com/comet-ml/kangas/releases/tag/2.4.12 ↗
- https://github.com/comet-ml/kangas/blob/0dde16161058281b569c013c3f5f7355161ee17b/backend/kangas/server/utils.py#L141-L146 ↗
- https://www.vulncheck.com/advisories/kangas-before-2.4.12-code-execution-via-datagrid-about-text-sandbox-escape ↗