Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. io.dataease/common
  4. ›
  5. CVE-2024-46997

CVE-2024-46997: DataEase's H2 datasource has a remote command execution risk

September 23, 2024

An attacker can achieve remote command execution by adding a carefully constructed h2 data source connection string.

request message:

POST /de2api/datasource/validate HTTP/1.1
Host: dataease.ubuntu20.vm
User-Agent: python-requests/2.31.0
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
X-DE-TOKEN: jwt
Content-Length: 209
Content-Type: application/json

References

  • github.com/advisories/GHSA-h7mj-m72h-qm8w
  • github.com/dataease/dataease
  • github.com/dataease/dataease/security/advisories/GHSA-h7mj-m72h-qm8w
  • nvd.nist.gov/vuln/detail/CVE-2024-46997

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.10.1

Fixed versions

  • 2.10.1

Solution

Upgrade to version 2.10.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

maven/io.dataease/common/CVE-2024-46997.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:10 +0000.