CVEvulnerability
CVE-2023-34111
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2023-06-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-77
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 configurations
• tdengine grafana (<= 2023-05-22)
Related
References
- https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 Product
- https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr Exploit, Third Party Advisory
- https://securitylab.github.com/research/github-actions-untrusted-input/ Exploit, Third Party Advisory
- https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25 Product
- https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr Exploit, Third Party Advisory
- https://securitylab.github.com/research/github-actions-untrusted-input/ Exploit, Third Party Advisory