CVE-2023-36812
Description
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`.
Weakness
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2024-11-06 |
Timeline
- 2023-06-30Published by the CNA22:58 UTC
- 2023-06-30GitHub advisory published (GHSA-76f7-9v52-v2fw)same day
- 2024-11-06CISA SSVC decision recorded495 days after publication
Exploit and advisory records
GitHub advisory GHSA-76f7-9v52-v2fw, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven net.opentsdb:opentsdb | before 2.4.2 | 2.4.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| opentsdb opentsdb | before 2.4.2fixed in 2.4.2 | 2.4.2 |
References
- https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9
- https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba
- https://github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw
- http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-36812'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-36812'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-36812'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-36812'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).