RUSTSEC-2023-0081 safemem is unmaintained
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
The latest crates.io release was in 2019. The repository has been archived by the author.
Migration
-
safemem::copy_over(slice, src_idx, dest_idx, len);can be replaced withslice.copy_within(src_idx..src_idx+len, dest_idx);as ofrust 1.37.0. -
safemem::write_bytes(slice, byte);can be replaced withslice.fill(byte);as ofrust 1.50.0 -
safemem::prepend(slice, vec);can be replaced withlet old_len = vec.len(); vec.extend_from_slice(slice); vec.rotate_left(old_len);as of
rust 1.26.0
Upgrade path
1 package: 0 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io safemem(crates.io) | >= 0.0.0-0 | No fix listed | No fix yet |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io safemem(crates.io) | >= 0.0.0-0 | No fix listed |
References
- crates.io product
- rustsec.org vendor-advisory
- github.com