Security Resilience

CVE-2023-36812

Opentsdb ≤ 2.4.2

Public PoC
Published
30 June 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.17 97th percentile
Risk Priority 97 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS scores by FIRST (EPSS SIG), generated by Empirical Security. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-36812 is a critical-severity Injection (CWE-74) vulnerability in Opentsdb. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

OpenTSDB, an open source distributed time series database, contains a remote code execution vulnerability tracked as CVE-2023-36812. The flaw arises when user-controlled input is written into a Gnuplot configuration file that is subsequently executed by the Gnuplot binary, enabling arbitrary command execution. The issue is rated 9.8 on CVSS 3.1 and is classified under CWE-74 (Injection). It was addressed in release 2.4.2 through commits 07c4641471c and fa88d3e4b.

Unauthenticated attackers with network access can exploit the vulnerability without user interaction to obtain full control over the affected OpenTSDB instance, including the ability to execute arbitrary commands on the underlying host. The attack surface is exposed whenever the Gnuplot integration is reachable, which occurs by default in vulnerable configurations.

Public advisories and the project repository recommend upgrading to version 2.4.2. Where immediate upgrade is not feasible, operators can set tsd.core.enable_ui to true and delete the mygnuplot.bat and mygnuplot.sh shell scripts to disable the affected code path. The current EPSS score of 0.8429 with a recorded peak of 0.8559 indicates sustained exploitation interest following disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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

CWE(s)

Related Threats

CVEs Like This One

CVE-2025-24364Shared CWE-74
CVE-2023-46726Shared CWE-74
CVE-2023-27040Shared CWE-74
CVE-2023-34203Shared CWE-74
CVE-2024-53860Shared CWE-74
CVE-2024-6469Shared CWE-74
CVE-2024-56838Shared CWE-74
CVE-2026-42838Shared CWE-74
CVE-2024-43782Shared CWE-74
CVE-2023-51388Shared CWE-74

Affected Assets

opentsdb
opentsdb
≤ 2.4.2

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-74

Developer assessments and testing (including injection-focused techniques) identify improper neutralization of special elements, and the verifiable flaw remediation corrects them pre-deployment.

addresses: CWE-74

Identifies indicators of injection attacks (command, SQL, LDAP, etc.) via anomaly and attack monitoring.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches injection vulnerabilities before release.

finds

Monitoring activities can identify active injection attacks after they occur.

prevents

Secure coding standards require proper neutralization of special elements, directly addressing CWE-74.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-74, a class-level weakness, and none of its children carries one either.

References