Add unsound advisory for scaly

This commit is contained in:
xizheyin
2026-04-02 12:51:41 +08:00
committed by Dirkjan Ochtman
parent 4d2c416daa
commit 043bf9142b

View File

@@ -0,0 +1,23 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "scaly"
date = "2026-01-19"
url = "https://github.com/rustsec/advisory-db/issues/2594"
informational = "unsound"
[versions]
patched = []
```
# Multiple soundness issues in `scaly` safe APIs
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. And the crate is unmaintained.