RUSTSEC-2024-0379

Source
https://rustsec.org/advisories/RUSTSEC-2024-0379
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2024-0379.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2024-0379
Aliases
Published
2024-10-31T12:00:00Z
Modified
2025-10-28T06:29:26.849953Z
Summary
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 <code>fast-float2</code> fork of fast-float containing these security patches and reduces overall usage of unsafe.

Database specific
{
    "license": "CC0-1.0"
}
References

Affected packages

crates.io / fast-float

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "arch": [],
        "functions": []
    }
}

Database specific

informational

"unsound"

categories

[]

cvss

null