Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. dtale
  4. ›
  5. CVE-2024-8862

CVE-2024-8862: D-Tale Command Execution Vulnerability

September 16, 2024 (updated September 20, 2024)

D-Tale is the combination of a Flask back-end and a React front-end to bring you an easy way to view & analyze Pandas data structures. In dtale\views.py, under the route @dtale.route("/chart-data/<data_id>"), the query parameters from the request are directly passed into run_query for execution. And the run_query function calls proceed without performing any processing or sanitization of the query parameter. As a result, the query is directly used in the df.query method for data retrieval. Tthe engine used is python, which allows executing the query expression ans leading to a command execution vulnerability.

References

  • github.com/advisories/GHSA-fg5m-m723-7mv6
  • github.com/man-group/dtale
  • github.com/man-group/dtale/commit/b6e30969390520d1400b55acbb13e5487b8472e8
  • nvd.nist.gov/vuln/detail/CVE-2024-8862
  • rumbling-slice-eb0.notion.site/Unauthenticated-Remote-Command-Execution-via-Panda-df-query-9dc40f0477ee4b65806de7921876c222?pvs=4
  • vuldb.com/?ctiid.277499
  • vuldb.com/?id.277499
  • vuldb.com/?submit.403200

Code Behaviors & Features

Detect and mitigate CVE-2024-8862 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.14.1

Fixed versions

  • 3.14.1

Solution

Upgrade to version 3.14.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/dtale/CVE-2024-8862.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:04 +0000.