Lookup for vulnerabilities affecting packages.

Vulnerability_idVCID-ks91-x6vr-tbay
Summary
Command Injection
A remote code execution vulnerability occurs in OpenTSDB 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).
Aliases
0
alias CVE-2020-35476
1
alias GHSA-hv53-q76c-7f8c
Fixed_packages
0
url pkg:maven/net.opentsdb/opentsdb@2.4.1
purl pkg:maven/net.opentsdb/opentsdb@2.4.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-t5md-jk9p-33bs
2
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.4.1
Affected_packages
0
url pkg:maven/net.opentsdb/opentsdb@2.1.3
purl pkg:maven/net.opentsdb/opentsdb@2.1.3
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.1.3
1
url pkg:maven/net.opentsdb/opentsdb@2.2.0RC1
purl pkg:maven/net.opentsdb/opentsdb@2.2.0RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.2.0RC1
2
url pkg:maven/net.opentsdb/opentsdb@2.2.0
purl pkg:maven/net.opentsdb/opentsdb@2.2.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.2.0
3
url pkg:maven/net.opentsdb/opentsdb@2.2.1
purl pkg:maven/net.opentsdb/opentsdb@2.2.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.2.1
4
url pkg:maven/net.opentsdb/opentsdb@2.2.2
purl pkg:maven/net.opentsdb/opentsdb@2.2.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.2.2
5
url pkg:maven/net.opentsdb/opentsdb@2.3.0-RC1
purl pkg:maven/net.opentsdb/opentsdb@2.3.0-RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.3.0-RC1
6
url pkg:maven/net.opentsdb/opentsdb@2.3.0-RC2
purl pkg:maven/net.opentsdb/opentsdb@2.3.0-RC2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.3.0-RC2
7
url pkg:maven/net.opentsdb/opentsdb@2.3.0
purl pkg:maven/net.opentsdb/opentsdb@2.3.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-cwjt-prsy-nfdy
1
vulnerability VCID-f8hh-ty64-xfb9
2
vulnerability VCID-kr5z-32hw-x3da
3
vulnerability VCID-ks91-x6vr-tbay
4
vulnerability VCID-t5md-jk9p-33bs
5
vulnerability VCID-v9zg-dg6q-k7c4
6
vulnerability VCID-xbn7-weew-c3df
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.3.0
8
url pkg:maven/net.opentsdb/opentsdb@2.3.1
purl pkg:maven/net.opentsdb/opentsdb@2.3.1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.3.1
9
url pkg:maven/net.opentsdb/opentsdb@2.3.2
purl pkg:maven/net.opentsdb/opentsdb@2.3.2
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.3.2
10
url pkg:maven/net.opentsdb/opentsdb@2.4.0RC1
purl pkg:maven/net.opentsdb/opentsdb@2.4.0RC1
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.4.0RC1
11
url pkg:maven/net.opentsdb/opentsdb@2.4.0
purl pkg:maven/net.opentsdb/opentsdb@2.4.0
is_vulnerable true
affected_by_vulnerabilities
0
vulnerability VCID-kr5z-32hw-x3da
1
vulnerability VCID-ks91-x6vr-tbay
2
vulnerability VCID-t5md-jk9p-33bs
3
vulnerability VCID-v9zg-dg6q-k7c4
resource_url http://public2.vulnerablecode.io/packages/pkg:maven/net.opentsdb/opentsdb@2.4.0
References
0
reference_url http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url http://packetstormsecurity.com/files/170331/OpenTSDB-2.4.0-Command-Injection.html
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2020-35476
reference_id
reference_type
scores
0
value 0.9425
scoring_system epss
scoring_elements 0.99933
published_at 2026-06-09T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2020-35476
2
reference_url https://github.com/OpenTSDB/opentsdb/issues/2051
reference_id
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://github.com/OpenTSDB/opentsdb/issues/2051
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2020-35476
reference_id CVE-2020-35476
reference_type
scores
0
value 9.8
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
1
value CRITICAL
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2020-35476
4
reference_url https://github.com/advisories/GHSA-hv53-q76c-7f8c
reference_id GHSA-hv53-q76c-7f8c
reference_type
scores
0
value CRITICAL
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-hv53-q76c-7f8c
Weaknesses
0
cwe_id 1035
name OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017.
1
cwe_id 77
name Improper Neutralization of Special Elements used in a Command ('Command Injection')
description The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
2
cwe_id 937
name OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities
description Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013.
3
cwe_id 78
name Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
description 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.
Exploits
0
date_added null
description
This module exploits an unauthenticated command injection
          vulnerability in the yrange parameter in OpenTSDB through
          2.4.0 (CVE-2020-35476) in order to achieve unauthenticated
          remote code execution as the root user.

          The module first attempts to obtain the OpenTSDB version via
          the api. If the version is 2.4.0 or lower, the module
          performs additional checks to obtain the configured metrics
          and aggregators. It then randomly selects one metric and one
          aggregator and uses those to instruct the target server to
          plot a graph. As part of this request, the yrange parameter is
          set to the payload, which will then be executed by the target
          if the latter is vulnerable.

          This module has been successfully tested against OpenTSDB
          version 2.3.0.
required_action null
due_date null
notes
Stability:
  - crash-safe
SideEffects:
  - artifacts-on-disk
  - ioc-in-logs
Reliability:
  - repeatable-session
known_ransomware_campaign_use false
source_date_published 2020-11-18
exploit_type null
platform Linux,Unix
source_date_updated null
data_source Metasploit
source_url https://github.com/rapid7/metasploit-framework/tree/master/modules/exploits/linux/http/opentsdb_yrange_cmd_injection.rb
Severity_range_score9.0 - 10.0
Exploitability2.0
Weighted_severity9.0
Risk_score10.0
Resource_urlhttp://public2.vulnerablecode.io/vulnerabilities/VCID-ks91-x6vr-tbay