Advisory

GHSA-x8jh-xj3x-gx3c

Also known as: RUSTSEC-2024-0379

Summary

fast-float has multiple soundness issues

Details

fast-float contains multiple soundness issues:

  1. Undefined behavior when checking input length, which has been merged but no package pubished.
  2. Many functions marked as safe with non-local safety guarantees

The library is also unmaintained.

Alternatives

For quickly parsing floating-point numbers third-party crates are generally no longer needed. A fast float parsing algorithm by the author of lexical has been merged into libcore. When requiring direct parsing from bytes and/or partial parsers, the `fast-float2` fork of fast-float containing these security patches and reduces overall usage of unsafe.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-11-12 20:48 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

fast-float

crates.io · All systems

Affected

  • introduced 0, last affected 0.2.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences