GHSA-x8jh-xj3x-gx3c `fast-float` has multiple soundness issues
LowCVSS 2.7
- Published
- Updated
- Exploit status
- No public exploit known
Description
fast-float contains multiple soundness issues:
- Undefined behavior when checking input length, which has been merged but no package pubished.
- 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.
Upgrade path
1 package: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io fast-float(crates.io) | <= 0.2.0; >= 0.0.0-0 | after 0.2.0 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io fast-float(crates.io) | <= 0.2.0 | No fix listed |
| crates.io fast-float(crates.io) | >= 0.0.0-0 | No fix listed |
References
- github.com issue-tracking
- github.com issue-tracking
- github.com issue-tracking
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com