Description
A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter. The yrange value is written to a gnuplot file in the /tmp directory. This file is then executed via the mygnuplot.sh shell script. (tsd/GraphHandler.java attempted to prevent command injections by blocking backticks but this is insufficient.)
Remediation
References
http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
https://github.com/OpenTSDB/opentsdb/issues/2051
Related Vulnerabilities
CVE-2022-31198 Vulnerability in npm package @openzeppelin/contracts
CVE-2023-39532 Vulnerability in npm package ses
CVE-2020-7637 Vulnerability in maven package org.webjars.npm:class-transformer
CVE-2019-10793 Vulnerability in maven package org.webjars.bower:dot-object
CVE-2023-26480 Vulnerability in maven package org.xwiki.platform:xwiki-platform-livedata-webjar