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

Borsh serialization of HashMap is non-canonical

متن اصلی

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

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

Rust / Cargohashbrown
نسخه‌های متأثر
>=0.15.0 <0.15.1
نسخهٔ اصلاح‌شده
0.15.1
Rust / Cargohashbrown
نسخه‌های متأثر
>= 0.15.0, < 0.15.1
نسخهٔ اصلاح‌شده
0.15.1

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

The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.

This can result in consensus splits and cause equivalent objects to be considered distinct.

This was patched in 0.15.1.

پیوندها