CVE-2020-35476
CRITICAL 9.8CVSS 3.1OS Command Injection in OpenTSDB
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.)
- Published
- 16 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-hv53-q76c-7f8c
- Sources
- NVDJSONOSV GHSA-hv53-q76c-7f8cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | opentsdb | opentsdbcpe:2.3:a:opentsdb:opentsdb:*:*:*:*:*:*:*:* |
<= 2.4.0 | |
| OSV | Maven | net.opentsdb:opentsdb | <= 2.4.0 |
References
- http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html · Exploit, Third Party Advisory, VDB Entry, WEB
- https://github.com/OpenTSDB/opentsdb/issues/2051 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-35476 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 16 Dec 2020)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 2 Aug 2021)