Skip to content
OpenAdvisories

Package · crates.io

anstream

1 known vulnerabilities.

1 result · Feed

  • Medium —

    Unsoundness in anstream

    When given a valid UTF8 string "ö\x1b😀", the function in crates/anstream/src/adapter/strip.rs will be confused. The UTF8 bytes are \xc3\xb6 then \x1b then \xf0\x9f\x98\x80. When looping over "non-printable bytes" \x1b\xf0 will be considered as some non-printa…