GitHub Advisoryadvisory · Maven
GHSA-76f7-9v52-v2fw Remote Code Execution for 2.4.1 and earlier
CRITICAL
Official page ↗
- Aliases
- CVE-2023-36812
- Ecosystem
- Maven
- Packages
- net.opentsdb:opentsdb
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-74
- Reviewed
- 2023-06-30
Affected packages
• Maven net.opentsdb:opentsdb: < 2.4.2 → fixed in 2.4.2
Description
Impact
OpenTSDB is vulnerable to Remote Code Execution vulnerability by writing user-controlled input to Gnuplot configuration file and running Gnuplot with the generated configuration.
Patches
Patched in 07c4641471c6f5c2ab5aab615969e97211eb50d9 and further refined in https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba
Workarounds
Disable Gunuplot via `tsd.core.enable_ui = true` and remove the shell files https://github.com/OpenTSDB/opentsdb/blob/master/src/mygnuplot.bat and https://github.com/OpenTSDB/opentsdb/blob/master/src/mygnuplot.sh.
Related
Alias · CVE (1)
- CVE-2023-36812 OpenTSDB is a open source, distributed, scalable Time Series Database (TSDB). vulnerability
Weakness · CWE (1)
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component weakness
References
- https://github.com/OpenTSDB/opentsdb/security/advisories/GHSA-76f7-9v52-v2fw web
- https://nvd.nist.gov/vuln/detail/CVE-2023-36812 advisory
- https://github.com/OpenTSDB/opentsdb/commit/07c4641471c6f5c2ab5aab615969e97211eb50d9 web
- https://github.com/OpenTSDB/opentsdb/commit/fa88d3e4b5369f9fb73da384fab0b23e246309ba web
- https://github.com/OpenTSDB/opentsdb package
- http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html web