Vulnerabilities in pkg:maven/net.opentsdb/opentsdb
PACKAGECVE-2023-25826 is a CRITICAL (CVSS 9.8) command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Opentsdb libraries in the Maven ecosystem. The issue involves command injection in opentsdb. Remediation is available in the latest vendor maintenance releases.
pkg:maven/net.opentsdb/opentsdb
Vulnerability advisories affecting package pkg:maven/net.opentsdb/opentsdb. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-h475-7v3c-26q7 | CVE-2023-25826 | CRITICAL | Command injection in OpenTSDB |
| GHSA-76f7-9v52-v2fw | CVE-2023-36812 | CRITICAL | Remote Code Execution for 2.4.1 and earlier |
| GHSA-9chv-3w6c-jq9w | CVE-2023-25827 | HIGH | Cross Site Scripting in OpenTSDB |
| GHSA-r68m-wq3x-2hqw | CVE-2018-12973 | MODERATE | OpenTSDB Cross-site Scripting vulnerability |
| GHSA-86vm-8m4p-6263 | CVE-2018-13003 | MODERATE | OpenTSDB Cross-site Scripting vulnerability |
| GHSA-cx2v-jrjc-g54w | CVE-2018-12972 | CRITICAL | OpenTSDB vulnerable to OS Command Injection |
| GHSA-hv53-q76c-7f8c | CVE-2020-35476 | CRITICAL | OS Command Injection in OpenTSDB |
CVE-2023-25826 at a Glance
Security Impact
CVSS: 9.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).
How to Fix CVE-2023-25826
To remediate this vulnerability, upgrade all affected Opentsdb dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>net.opentsdb</groupId>
<artifactId>opentsdb</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=net.opentsdb
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2023-25826, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=net.opentsdb
Analyze the terminal output to locate any version of Opentsdb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=net.opentsdb command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Opentsdb, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-25826 Affected Opentsdb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
net.opentsdb:opentsdb
|
Maven |
≤ 2.4.1
|
|
References
Frequently Asked Questions
What is CVE-2023-25826?
Which Opentsdb versions are affected?
What version fixes CVE-2023-25826?
Is opentsdb affected?
What is the CVSS score of CVE-2023-25826?
What CWE is associated with CVE-2023-25826?
How can I check Maven dependencies for CVE-2023-25826?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h475-7v3c-26q7",
"modified" : "2025-02-13T18:54:14Z",
"published" : "2023-05-03T21:30:18Z",
"aliases" : [ "CVE-2023-25826" ],
"summary" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "net.opentsdb:opentsdb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "2.4.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-25826"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenTSDB/opentsdb/pull/2275"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenTSDB/opentsdb"
}, {
"type" : "WEB",
"url" : "https://www.synopsys.com/blogs/software-security/opentsdb"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/174570/OpenTSDB-2.4.1-Unauthenticated-Command-Injection.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-78" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2023-05-05T02:23:59Z",
"nvd_published_at" : "2023-05-03T19:15:08Z"
}
}