Repository navigation
Security release: all users should upgrade (pip install -U kangas).
New in this release:
- Security fix (CWE-95, #132): opening a crafted DataGrid in the Kangas UI could run arbitrary code, via the About page's
.show(...)examples or via list-comprehension filter expressions. These are no longer evaluated as Python: About page arguments are parsed as literals only, and filter expressions are validated before compiling, whether or not RestrictedPython is installed. Affects 2.4.11 and earlier. Reported by Dilanka Kaushal Hewage (r3vpwnx). Fixed in #133. - Filters can refer to columns by bare name (e.g.
score > 0.5instead of{'score'} > 0.5); use__for spaces in column names. DataGrid(data=...)acceptsverify=Falseto use the given column types without checking every value.- Fix for numpy float types in queries.
deserialize()can fetch remote sources (get_remote_source).- DataGrid path fix, and a typo fix in filter completions.
Includes changes from 2.4.8 through 2.4.11, which were released to PyPI without GitHub releases.