{"id":"GHSA-x8jh-xj3x-gx3c","summary":"`fast-float` has multiple soundness issues","details":"`fast-float` contains multiple soundness issues:\n\n 1. [Undefined behavior when checking input length](https://github.com/aldanor/fast-float-rust/issues/28), which has been merged but no package [pubished](https://github.com/aldanor/fast-float-rust/issues/35).\n 1. [Many functions marked as safe with non-local safety guarantees](https://github.com/aldanor/fast-float-rust/issues/37)\n\nThe library is also unmaintained.\n\n## Alternatives\n\nFor 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](https://github.com/rust-lang/rust/pull/86761) into libcore. When requiring direct parsing from bytes and/or partial parsers, the [`fast-float2`](https://crates.io/crates/fast-float2) fork of `fast-float` containing these security patches and reduces overall usage of unsafe.\n","aliases":["RUSTSEC-2024-0379"],"modified":"2026-09-10T03:50:21.159785115Z","published":"2024-11-12T20:48:39Z","database_specific":{"github_reviewed_at":"2024-11-12T20:48:39Z","nvd_published_at":null,"cwe_ids":[],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/aldanor/fast-float-rust/issues/28"},{"type":"WEB","url":"https://github.com/aldanor/fast-float-rust/issues/35"},{"type":"WEB","url":"https://github.com/aldanor/fast-float-rust/issues/37"},{"type":"PACKAGE","url":"https://github.com/aldanor/fast-float-rust"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2024-0379.html"}],"affected":[{"package":{"name":"fast-float","ecosystem":"crates.io","purl":"pkg:cargo/fast-float"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-x8jh-xj3x-gx3c/GHSA-x8jh-xj3x-gx3c.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U"}]}