همهٔ گزارش‌ها
متوسط

Mutable reference with immutable provenance in image

متن اصلی

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

Rust / Cargoimage
نسخه‌های متأثر
< 0.23.12
نسخهٔ اصلاح‌شده
0.23.12

بهره‌برداری

CVE-2020-35916

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

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

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

A mutable reference to a struct was constructed by dereferencing a pointer obtained from slice::as_ptr. Instead, slice::as_mut_ptr should have been called on the mutable slice argument. The former performs an implicit reborrow as an immutable shared reference which does not allow writing through the derived pointer.

پیوندها

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

  • tdunlap607