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>::indexcan perform an out-of-bounds read.String::get_lengthcan perform an out-of-bounds read.String::append_charactercan perform an invalid write.String::to_c_stringcan 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io scaly(crates.io) | <= 0.0.37; >= 0.0.0-0 | after 0.0.37 | Partially fixed |
Affected products
| Product | Affected versions | Fixed 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
- github.com issue-tracking
- github.com
- rustsec.org vendor-advisory
- crates.io product
- github.com