CVE-2023-34111
8.1high
Command Injection Vulnerability in `Release PR Merged` Workflow in taosdata/grafanaplugin
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 4.05% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| taosdata grafanaplugin | <= 2e4c82b002 | CVE List |
| tdengine grafana | up to 2023-05-22 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
References
| https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr | exploit, third-party-advisory | |
| https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 | product | |
| https://securitylab.github.com/research/github-actions-untrusted-input/ | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-34111 changed 2025-01-07 | CVE Terms of Use |
| NVD | CVE-2023-34111 changed 2026-06-17 | Public domain |