CVE-2023-36812 in the critical feed json
Remote Code Execution in OpenTSDB
published 2023-06-30 3 y ago modified 2026-09-10 1 mo ago also GHSA-76f7-9v52-v2fw , EUVD-2023-1721
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 16.5%
- EPSS 16.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 1
- Metasploit
Summary
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`.
Patch / fix
- maven net.opentsdb:opentsdb 2.4.2
- OpenTSDB opentsdb 2.4.2
Timeline
- Published
- First public exploit (Metasploit exploit/linux/http/opentsdb_key_cmd_injection)
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
16.50% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/opentsdb_key_cmd_injection OpenTSDB 2.4.1 unauthenticated command injection metasploit exploit, excellent rank, 2023-07-01
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | net.opentsdb:opentsdb | <2.4.2 |
2.4.2 |
Affected products
- OpenTSDB opentsdb
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9
web, patch
-
github.com
/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba
web, patch
-
github.com
/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw
web, patch
-
packetstormsecurity.com
/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-36812
advisory
-
github.com
/OpenTSDB/opentsdb
package
Sources
- CVE List CVE-2023-36812
- GitHub Advisory GHSA-76f7-9v52-v2fw
- NVD CVE-2023-36812
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.