GHSA-2326-pfpj-vx3h
low
lexical-core has multiple soundness issues
- Severity
- low rating by GitHub
- Published
- Last changed
- Also known as
- RUSTSEC-2023-0086
Description
RUSTSEC-2024-0377 contains multiple soundness issues:
- Bytes::read() allows creating instances of types with invalid bit patterns
- BytesIter::read() advances iterators out of bounds
- The
BytesItertrait has safety invariants but is public and not markedunsafe write_float()callsMaybeUninit::assume_init()on uninitialized data, which is is not allowed by the Rust abstract machineradix()callsMaybeUninit::assume_init()on uninitialized data, which is is not allowed by the Rust abstract machine
Version 1.0 fixes these issues, removes the vast majority of unsafe code, and also fixes some correctness issues.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| lexical-core (crates.io) | before 1.0.0, from 0.0.0-0 before 1.0.0 | GitHub Advisory Database, RustSec Advisory Database |
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-2326-pfpj-vx3h changed 2026-09-10 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2023-0086 changed 2026-02-04 | CC0-1.0 |