{"id":"GHSA-hv53-q76c-7f8c","summary":"OS Command Injection in OpenTSDB","details":"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.)","aliases":["CVE-2020-35476"],"modified":"2023-11-08T04:03:33.951959Z","published":"2021-08-02T17:02:21Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-07-26T18:11:42Z","nvd_published_at":"2020-12-16T08:15:00Z","cwe_ids":["CWE-78"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35476"},{"type":"WEB","url":"https://github.com/OpenTSDB/opentsdb/issues/2051"},{"type":"WEB","url":"http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html"}],"affected":[{"package":{"name":"net.opentsdb:opentsdb","ecosystem":"Maven","purl":"pkg:maven/net.opentsdb/opentsdb"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.4.0"}]}],"versions":["2.1.3","2.2.0","2.2.0RC1","2.2.1","2.2.2","2.3.0","2.3.0-RC1","2.3.0-RC2","2.3.1","2.3.2","2.4.0","2.4.0RC1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hv53-q76c-7f8c/GHSA-hv53-q76c-7f8c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}