Intel

AIKIDO-2024-10526

linkme is vulnerable to Type Confusion

Type ConfusionGHSA-f95p-4cv5-8w8x Published Dec 9, 2024

63

Medium Risk

This Affects:

rustlinkme
0.0.1 - 0.3.23
Fixed in 0.3.24
Are you affected? Scan for Free

TL;DR

Affected versions of this package allow populating a DistributedSlice of type T with elements of any other type that can coerce to T. For instance, elements of type &&str could be included in a slice of type [&str] due to deref coercion, where &&str coerces to &str.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

linkme is vulnerable to Type Confusion in versions 0.0.1 - 0.3.23.

How to fix this

Upgrade the linkme library to a patch version.