GitHub Advisory Database
GHSA-h475-7v3c-26q7
Command injection in OpenTSDB
Details
Due to insufficient validation of parameters passed to the legacy HTTP query API, it is possible to inject crafted OS commands into multiple parameters and execute malicious code on the OpenTSDB host system. This exploit exists due to an incomplete fix that was made when this vulnerability was previously disclosed as CVE-2020-35476. Regex validation that was implemented to restrict allowed input to the query API does not work as intended, allowing crafted commands to bypass validation.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | net.opentsdb:opentsdb | All versions up to and including 2.4.1 |