همهٔ گزارش‌ها
زیاد

Command injection in Git package in Wrangler

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
= 1.0.0
نسخهٔ اصلاح‌شده
1.0.1
نسخه‌های متأثر
>= 0.8.0, < 0.8.5-security1
نسخهٔ اصلاح‌شده
0.8.5-security1
نسخه‌های متأثر
<0.7.4-security1 || >=0.8.0 <0.8.5-security1 || >=0.8.6 <0.8.11 || >=1.0.0 <1.0.1
نسخهٔ اصلاح‌شده
0.7.4-security1 · 0.8.11 · 0.8.5-security1 · 1.0.1
نسخه‌های متأثر
>= 0.8.6, < 0.8.11
نسخهٔ اصلاح‌شده
0.8.11
نسخه‌های متأثر
< 0.7.4-security1
نسخهٔ اصلاح‌شده
0.7.4-security1

بهره‌برداری

CVE-2022-31249

احتمال بهره‌برداری در ۳۰ روز آینده: 3.86%

FIRST EPSS · ۱۴۰۵/۰۸/۲۷

شرح آسیب‌پذیری

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:

پیوندها

گزارش‌دهندگان

  • cokeBeer
  • aruneko
  • tdunlap607