Loading HuntDB...

GHSA-qrg7-hfx7-95c5

GitHub Security Advisory

Command injection in Git package in Wrangler

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

### Impact

A command injection vulnerability was discovered in Wrangler's Git package affecting versions up to and including `v1.0.0`.

Wrangler's Git package uses the underlying Git binary present in the host OS or container image to execute Git operations. Specially crafted commands can be passed to Wrangler that will change their behavior and cause confusion when executed through Git, resulting in command injection in the underlying host.

### Workarounds

A workaround is to sanitize input passed to the Git package to remove potential unsafe and ambiguous characters. Otherwise, the best course of action is to update to a patched Wrangler version.

### Patches

Patched versions include `v1.0.1` and later and the backported tags - `v0.7.4-security1`, `v0.8.5-security1` and `v0.8.11`.

### For more information

If you have any questions or comments about this advisory:

* Reach out to [SUSE Rancher Security team](https://github.com/rancher/rancher/security/policy) for security related inquiries.
* Open an issue in [Rancher](https://github.com/rancher/rancher/issues/new/choose) or [Wrangler](https://github.com/rancher/wrangler/issues/new) repository.
* Verify our [support matrix](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/) and [product support lifecycle](https://www.suse.com/lifecycle/).

Affected Packages

Go github.com/rancher/wrangler
Affected versions: 0 (fixed in 0.7.4-security1)
Go github.com/rancher/wrangler
Affected versions: 0.8.0 (fixed in 0.8.5-security1)
Go github.com/rancher/wrangler
Affected versions: 1.0.0 (fixed in 1.0.1)
Go github.com/rancher/wrangler
Affected versions: 0.8.6 (fixed in 0.8.11)

Related CVEs

Key Information

GHSA ID
GHSA-qrg7-hfx7-95c5
Published
January 25, 2023 7:40 PM
Last Modified
February 8, 2023 10:37 PM
CVSS Score
7.5 /10
Primary Ecosystem
Go
Primary Package
github.com/rancher/wrangler
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 27, 2025 6:35 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.