CVE-2023-34111

The `Release PR Merged` workflow in the github repo taosdata/grafanaplugin is subject to a command injection vulnerability which allows for arbitrary code execution within the github action context due to the insecure usage of `${{ github.event.pull_request.title }}` in a bash command within the GitHub workflow. Attackers can inject malicious commands which will be executed by the workflow. This happens because `${{ github.event.pull_request.title }}` is directly passed to bash command on like 25 of the workflow. This may allow an attacker to gain access to secrets which the github action has access to or to otherwise make use of the compute resources.
Configurations

Configuration 1 (hide)

cpe:2.3:a:tdengine:grafana:*:*:*:*:*:tdengine:*:*

History

13 Jun 2023, 16:35

Type Values Removed Values Added
First Time Tdengine
Tdengine grafana
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-20 CWE-77
CPE cpe:2.3:a:tdengine:grafana:*:*:*:*:*:tdengine:*:*
References (MISC) https://securitylab.github.com/research/github-actions-untrusted-input/ - (MISC) https://securitylab.github.com/research/github-actions-untrusted-input/ - Exploit, Third Party Advisory
References (MISC) https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr - (MISC) https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr - Exploit, Third Party Advisory
References (MISC) https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 - (MISC) https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 - Product

06 Jun 2023, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-06-06 17:15

Updated : 2023-12-10 15:01


NVD link : CVE-2023-34111

Mitre link : CVE-2023-34111

CVE.ORG link : CVE-2023-34111


JSON object : View

Products Affected

tdengine

  • grafana
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')

CWE-20

Improper Input Validation