CVE-2020-35476Opentsdb
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Opentsdb · Opentsdb We alert you by email or Slack (account required).
- Priority
- 82
- CVSS 3.1
- 9.8
- EPSS
- 85.3% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Dec 16, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.)
What to do
- Apply the vendor's security update for Opentsdb.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | net.opentsdb:opentsdb |
≤ 2.4.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-hv53-q76c-7f8c). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| opentsdb | opentsdb | ≤ 2.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- github.com Exploit Issue Tracking Third Party Advisory