Advisory

GO-2023-1519

Also known as: CVE-2022-31249, GHSA-qrg7-hfx7-95c5

Summary

Command injection in github.com/rancher/wrangler

Details

A command injection vulnerability exists in the Wrangler Git package. 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.

Severity

Not rated by the source.

Dates

Published
2023-02-14 19:34 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/rancher/wrangler

Go · All systems

Affected

  • introduced 0, fixed 0.7.4-security1, introduced 0.8.0, fixed 0.8.5-security1, introduced 0.8.6, fixed 0.8.11, introduced 1.0.0, fixed 1.0.1 (semver)

Fixed versions

0.7.4-security1, 0.8.5-security1, 0.8.11, 1.0.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences