PT-2024-40949 · Anstream · Anstream

Published

2024-09-08

·

Updated

2024-09-08

None

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
Name of the Vulnerable Software and Affected Versions anstream (affected versions not specified)
Description The issue arises when the function in anstream's adapter/strip.rs is given a valid UTF8 string containing non-printable bytes, such as "öx1b😀". The function incorrectly segments the UTF8 bytes, considering sequences like x1bxf0 as non-printable. This leads to the creation of a broken string via str::from utf8 unchecked, which should not occur.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Related Identifiers

RUSTSEC-2024-0404

Affected Products

Anstream