Remote Code Execution in OpenTSDB
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
OpenTSDB is a open source, distributed, scalable Time Series Database (TSDB). OpenTSDB is vulnerable to Remote Code Execution vulnerability by writing user-controlled input to Gnuplot configuration file and running Gnuplot with the generated configuration. This issue has been patched in commit `07c4641471c` and further refined in commit `fa88d3e4b`. These patches are available in the `2.4.2` release. Users are advised to upgrade. User unable to upgrade may disable Gunuplot via the config option`tsd.core.enable_ui = true` and remove the shell files `mygnuplot.bat` and `mygnuplot.sh`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| OpenTSDB | opentsdb | before 2.4.2 | 2.4.2 | Patch available | CNA |
| — | net.opentsdb:opentsdb (Maven) | before 2.4.2 | 2.4.2 | Patch available | GHSA-76f7-9v52-v2fw |
- opentsdb VendorOpenTSDB Affected before 2.4.2 Fixed in 2.4.2 Patch available CNA
- net.opentsdb:opentsdb (Maven) Vendor— Affected before 2.4.2 Fixed in 2.4.2 Patch available GHSA-76f7-9v52-v2fw
Remediation
- Fix · CNA opentsdb (OpenTSDB) Fixed in 2.4.2
- Fix · GHSA-76f7-9v52-v2fw net.opentsdb:opentsdb (Maven) Fixed in 2.4.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-36812
- 2026-10-03 Alias added: GHSA-76f7-9v52-v2fw
References
Patch 3
More Opentsdb vulnerabilities
- TI-2020-18002 A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command… CVSS 3.1CRITICAL 9.8
- TI-2023-11096 Remote Code Execution in OpenTSDB CVSS 3.1CRITICAL 9.8
- TI-2018-09308 An issue was discovered in OpenTSDB 2.3.0. CVSS 3.0CRITICAL 9.8
- TI-2023-11097 Cross-site Scripting in OpenTSDB CVSS 3.1HIGH 8.2
- TI-2018-09309 An issue was discovered in OpenTSDB 2.3.0. CVSS 3.0MEDIUM 6.1
- TI-2018-09333 An issue was discovered in OpenTSDB 2.3.0. CVSS 3.0MEDIUM 6.1
Sources
- CVE-2023-36812 · CVE Program
- CVE-2023-36812 · NVD
- FIRST EPSS
- GHSA-76f7-9v52-v2fw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences