{ "schema_version": "1.4.0", "id": "GHSA-hv53-q76c-7f8c", "modified": "2021-07-26T18:11:42Z", "published": "2021-08-02T17:02:21Z", "aliases": [ "CVE-2020-35476" ], "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.)", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "net.opentsdb:opentsdb" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "2.4.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-78" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-07-26T18:11:42Z", "nvd_published_at": "2020-12-16T08:15:00Z" } }