{"id":"CVE-2020-35476","aliases":["CVE-2020-35476","GHSA-hv53-q76c-7f8c"],"related":[],"kind":"vulnerability","state":"published","title":"OS Command Injection in OpenTSDB","summary":"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.)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.)","source":"cvelist"},{"lang":"es","text":"Se produce una vulnerabilidad de ejecución de código remota en OpenTSDB versiones hasta 2.4.0, por medio de la inyección de comandos en el parámetro yrange.&#xa0;El valor de yrange se escribe en un archivo gnuplot en el directorio /tmp.&#xa0;Luego, este archivo es ejecutado por medio del script de shell mygnuplot.sh.&#xa0;(tsd/GraphHandler.java intentó evitar las inyecciones de comandos al bloquear las comillas inversas, pero esto es insuficiente)","source":"nvd"}],"published":"2020-12-16T00:00:00.000Z","modified":"2026-06-17T03:13:46.653Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"2.4.0"}],"ecosystem":"Maven","package":"net.opentsdb:opentsdb","purl":"pkg:maven/net.opentsdb/opentsdb","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.4.0"}],"vendor":"opentsdb","product":"opentsdb","cpe":"cpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenTSDB/opentsdb/issues/2051","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html","tags":["exploit","third-party-advisory","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35476","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35476","url":"https://www.cve.org/CVERecord?id=CVE-2020-35476","licence":"CVE Terms of Use","modified":"2024-08-04T17:02:08.232Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hv53-q76c-7f8c","url":"https://github.com/advisories/GHSA-hv53-q76c-7f8c","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:33.951Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35476","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35476","licence":"Public domain","modified":"2026-06-17T03:13:46.653Z"}],"updatedAt":"2026-11-25T22:57:56.280Z","epss":{"score":0.8533,"percentile":0.99717,"date":"2026-12-01T12:00:22.000Z"}}