Skip to content

GHSA-2c6h-4899-wjxr scaly: Multiple soundness issues in Rust safe APIs

HighCVSS 8.7
Published
Updated
Exploit status
No public exploit known

Description

Affected versions contain multiple safe APIs that can trigger undefined behavior:

  • Array<T>::index can perform an out-of-bounds read.
  • String::get_length can perform an out-of-bounds read.
  • String::append_character can perform an invalid write.
  • String::to_c_string can perform an out-of-bounds write.

These issues were reproduced against scaly 0.0.37 under Miri. The crate is unmaintained.

Upgrade path

1 package: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
crates.io scaly(crates.io) <= 0.0.37; >= 0.0.0-0 after 0.0.37 Partially fixed

Affected products

ProductAffected versionsFixed in
crates.io scaly(crates.io) <= 0.0.37 No fix listed
crates.io scaly(crates.io) >= 0.0.0-0 No fix listed

References