Every CVESearch/Get API key

GHSA-2326-pfpj-vx3h

lexical-core has multiple soundness issues

No scoreFix available

RUSTSEC-2024-0377 contains multiple soundness issues:

  1. Bytes::read() allows creating instances of types with invalid bit patterns
  2. BytesIter::read() advances iterators out of bounds
  3. The BytesIter trait has safety invariants but is public and not marked unsafe
  4. write_float() calls MaybeUninit::assume_init() on uninitialized data, which is is not allowed by the Rust abstract machine
  5. radix() calls MaybeUninit::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.

What each source reports

GitHub AdvisoriesNo score
OSVNo score
OSVRUSTSEC-2023-0086No score

Affected packages

Affected packages
PackageAffectedFixed
lexical-core
crates.io
before 1.0.0
1.0.0
lexical-core
crates.io
0.0.0-0 up to 1.0.0
1.0.0

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-2326-pfpj-vx3h is a vulnerability with no CVSS score yet in lexical-core, published September 3, 2023. No source lists public exploit code. Fixed in lexical-core 1.0.0.

References

Show 5 moreShow less
MoveEnter Open