Critical

OS Command Injection in OpenTSDB

  • Disclosed: 02.08.2021
  • Updated: 11.10.2026 11:21

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.)

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) net.opentsdb:opentsdb <= 2.4.0 no fix

References

CVSS score 9.8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Platform
Java / Kotlin (Maven)
Package
net.opentsdb:opentsdb
Disclosed
02.08.2021
Updated
11.10.2026 11:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hv53-q76c-7f8c - CC BY 4.0

Vulnerability history: net.opentsdb:opentsdb

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
08.2021 06.2023
Without a fix
6
Exploited in attacks
0

Severity breakdown

  • Critical 4
  • High 1
  • Medium 2

Disclosures per year

  1. 2021: 1
  2. 2022: 3
  3. 2023: 3
  4. 2024: 0
  5. 2025: 0
  6. 2026: 0
  1. Critical · 9.8 CVE-2023-36812 < 2.4.2 2.4.2
  2. Critical · 9.8 CVE-2023-25826 <= 2.4.1 no fix
  3. High · 8.2 CVE-2023-25827 <= 2.4.1 no fix
  4. Medium · 6.1 CVE-2018-13003 <= 2.3.0 no fix
  5. Medium · 6.1 CVE-2018-12973 <= 2.3.0 no fix
  6. Critical · 9.8 CVE-2018-12972 <= 2.3.0 no fix
  7. OS Command Injection in OpenTSDB this entry
    Critical · 9.8 CVE-2020-35476 <= 2.4.0 no fix

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.