CVE-2023-34111 Command Injection Vulnerability in `Release PR Merged` Workflow in taosdata/grafanaplugin

High 8.1 Published Updated

Attackers can inject commands into a GitHub Actions workflow to execute arbitrary code and access secrets.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-34111?

CVE-2023-34111 is a high-severity command injection vulnerability in taosdata grafanaplugin, published on 6 Jun 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-77, CWE-20

Which versions are affected by CVE-2023-34111?

It affects 1 product.

Products include Tdengine Grafana.

How do I fix CVE-2023-34111?

No fix has been published for CVE-2023-34111 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2023-34111 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34111 exists.

Sources

Is CVE-2023-34111 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free