GHSA-hv53-q76c-7f8c

Suggest an improvement
Source
https://github.com/advisories/GHSA-hv53-q76c-7f8c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hv53-q76c-7f8c/GHSA-hv53-q76c-7f8c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hv53-q76c-7f8c
Aliases
Published
2021-08-02T17:02:21Z
Modified
2023-11-08T04:03:33.951959Z
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
OS Command Injection in OpenTSDB
Details

A remote code execution vulnerability occurs in OpenTSDB through 2.4.0 via command injection in the yrange parameter. The yrange value is written to a gnuplot file in the /tmp directory. This file is then executed via the mygnuplot.sh shell script. (tsd/GraphHandler.java attempted to prevent command injections by blocking backticks but this is insufficient.)

Database specific
{
    "nvd_published_at": "2020-12-16T08:15:00Z",
    "github_reviewed_at": "2021-07-26T18:11:42Z",
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-78"
    ]
}
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.0

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