Vulnerability · Published Jun 30, 2023 · Assigned by GitHub_M

CVE-2023-36812Remote Code Execution in OpenTSDB

Critical 9.8

In plain English

A critical-severity injection in opentsdb from OpenTSDB. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 16.5% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)16.5%top 3.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling2Metasploit, Public PoC

Official description

OpenTSDB is a open source, distributed, scalable Time Series Database (TSDB). OpenTSDB is vulnerable to Remote Code Execution vulnerability by writing user-controlled input to Gnuplot configuration file and running Gnuplot with the generated configuration. This issue has been patched in commit `07c4641471c` and further refined in commit `fa88d3e4b`. These patches are available in the `2.4.2` release. Users are advised to upgrade. User unable to upgrade may disable Gunuplot via the config option`tsd.core.enable_ui = true` and remove the shell files `mygnuplot.bat` and `mygnuplot.sh`.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavennet.opentsdb:opentsdb2.4.2GHSA-76f7-9v52-v2fw

Affected products (as reported)

VendorProductVersions
OpenTSDB opentsdb < 2.4.2

Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References