VDB
KO
MEDIUM

GHSA-832w-fhmw-w4f4

D-Tale allows Remote Code Execution through the Custom Filter Input

Details

### Impact Users hosting D-Tale publicly can be vulnerable to remote code execution allowing attackers to run malicious code on the server.

### Patches Users should upgrade to version 3.16.1 where the `update-settings` endpoint blocks the ability for users to update the `enable_custom_filters` flag. You can find out more information on how to turn that flag on [here](https://github.com/man-group/dtale#custom-filter)

### Workarounds The only workaround for versions earlier than 3.16.1 is to only host D-Tale to trusted users.

### References See "Custom Filter" [documentation](https://github.com/man-group/dtale#custom-filter)

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / dtale
Introduced in: 0 Fixed in: 3.16.1
Fix pip install --upgrade 'dtale>=3.16.1'

References