Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-qrg7-hfx7-95c5: Command injection in Git package in Wrangler

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:

ghsa
#vulnerability#git

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 for security related inquiries.
  • Open an issue in Rancher or Wrangler repository.
  • Verify our support matrix and product support lifecycle.

References

  • GHSA-qrg7-hfx7-95c5

Related news

CVE-2022-31249: Invalid Bug ID

A Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability in wrangler of SUSE Rancher allows remote attackers to inject commands in the underlying host via crafted commands passed to Wrangler. This issue affects: SUSE Rancher wrangler version 0.7.3 and prior versions; wrangler version 0.8.4 and prior versions; wrangler version 1.0.0 and prior versions.