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.
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.
Patched versions include v1.0.1
and later and the backported tags - v0.7.4-security1
, v0.8.5-security1
and v0.8.11
.
If you have any questions or comments about this advisory:
{ "nvd_published_at": "2023-02-07T13:15:00Z", "cwe_ids": [ "CWE-77", "CWE-78", "CWE-88" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-01-25T19:40:43Z" }