NetSight
mittel5.5

CVE-2020-35916

Mutable reference with immutable provenance in image

Auswirkung

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.

Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
rustimage< 0.23.120.23.12

Betroffene Produkte · Image-rs

ProduktBetroffene Versionen
Image
vor 0.23.12

Schwachstellenklasse

Referenzen