GHSA-h475-7v3c-26q7

Suggest an improvement
Source
https://github.com/advisories/GHSA-h475-7v3c-26q7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/05/GHSA-h475-7v3c-26q7/GHSA-h475-7v3c-26q7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h475-7v3c-26q7
Aliases
Published
2023-05-03T21:30:18Z
Modified
2024-02-16T08:24:25.236929Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2023-05-03T19:15:08Z",
    "cwe_ids": [
        "CWE-78"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2023-05-05T02:23:59Z"
}
References

Affected packages

Maven / net.opentsdb:opentsdb

Package

Name
net.opentsdb:opentsdb
View open source insights on deps.dev
Purl
pkg:maven/net.opentsdb/opentsdb

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.4.1

Affected versions

2.*

2.1.3
2.2.0RC1
2.2.0
2.2.1
2.2.2
2.3.0-RC1
2.3.0-RC2
2.3.0
2.3.1
2.3.2
2.4.0RC1
2.4.0
2.4.1