{"id":"CVE-2023-36812","summary":"Remote Code Execution in OpenTSDB","details":"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`.","aliases":["GHSA-76f7-9v52-v2fw"],"modified":"2026-04-10T05:00:22.441179Z","published":"2023-06-30T22:58:33.603Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36812.json","cwe_ids":["CWE-74"]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36812.json"},{"type":"ADVISORY","url":"https://github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-36812"},{"type":"FIX","url":"https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9"},{"type":"FIX","url":"https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opentsdb/opentsdb","events":[{"introduced":"0"},{"fixed":"07c4641471c6f5c2ab5aab615969e97211eb50d9"}]},{"type":"GIT","repo":"https://github.com/opentsdb/opentsdb","events":[{"introduced":"0"},{"fixed":"fa88d3e4b5369f9fb73da384fab0b23e246309ba"}]},{"type":"GIT","repo":"https://github.com/opentsdb/opentsdb","events":[{"introduced":"0"},{"fixed":"07c4641471c6f5c2ab5aab615969e97211eb50d9"}]},{"type":"GIT","repo":"https://github.com/opentsdb/opentsdb","events":[{"introduced":"0"},{"fixed":"fa88d3e4b5369f9fb73da384fab0b23e246309ba"}]}],"versions":["2.1.1","v1.0.0","v1.1.0","v2.0.1","v2.1.0","v2.1.2","v2.1.3","v2.1.4","v2.2.0","v2.2.1","v2.2.2","v2.3.0","v2.3.1","v2.3.2","v2.4.0","v2.4.1"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"fixed":"2.4.2"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36812.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}