CVE-2023-25826: Command injection in OpenTSDB
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9926%
CWE
Published
5/3/2023
Updated
2/13/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| net.opentsdb:opentsdb | maven | <= 2.4.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper parameter validation in the legacy query API handler (CWE-78). The Synopsys advisory and GitHub PR #2275 indicate: 1) Parameters like 'key'/'style'/'smooth' were passed to system commands, 2) The original regex validation failed to block newlines/control characters, 3) The fix involved replacing regex with strict TAG validation. These functions are core to query parameter processing and command execution flow. The PR's commit message explicitly references command injection via these parameters and the need to replace regex with TAG validation logic.