CVE-2023-34111

Name
CVE-2023-34111
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/taosdata/grafanaplugin/blob/master/.github/workflows/release-pr-merged.yaml#L25
MISC https://github.com/taosdata/grafanaplugin/security/advisories/GHSA-23wp-p848-hcgr
MISC https://securitylab.github.com/research/github-actions-untrusted-input/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:tdengine:grafana:*:*:*:*:*:tdengine:*:* grafana >= None <= 2023-05-22

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
grafana 3.18-community 9.5.2-r4 Konstantin Kulikov <k.kulikov2@gmail.com> possibly vulnerable
grafana 3.19-community 10.2.2-r0 Konstantin Kulikov <k.kulikov2@gmail.com> possibly vulnerable
grafana edge-community 10.3.3-r0 Konstantin Kulikov <k.kulikov2@gmail.com> possibly vulnerable