CVE-2023-36812 Remote Code Execution in OpenTSDB
CriticalCVSS 9.8
EPSS 16.5%
Framework module
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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 optiontsd.core.enable_ui = true and remove the shell files mygnuplot.bat and mygnuplot.sh.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| net.opentsdb/opentsdb(Maven) | < 2.4.2; <= 2.4.1; = 2.1.3; = 2.2.0 +11 more | 2.4.2 | Fixed |
| opentsdb | < 2.4.2; = < 2.4.2 | 2.4.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| net.opentsdb/opentsdb(Maven) | <= 2.4.1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | < 2.4.2 | 2.4.2 |
| net.opentsdb/opentsdb(Maven) | = 2.1.3 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.2.0 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.2.0RC1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.2.1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.2.2 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.3.0 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.3.0-RC1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.3.0-RC2 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.3.1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.3.2 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.4.0 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.4.0RC1 | No fix listed |
| net.opentsdb/opentsdb(Maven) | = 2.4.1 | No fix listed |
| opentsdb | = < 2.4.2 | No fix listed |
| opentsdb | < 2.4.2 | 2.4.2 |
References
- https://github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw patch vendor-advisory
- https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9 patch
- https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba patch
- nvd.nist.gov third-party-advisory vendor-advisory
- packetstormsecurity.com exploit
- github.com
- github.com product