From 36cd2a6f185e68e0facc2d660ebdf35ed709bddd Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Tue, 12 Nov 2024 20:50:19 +0000 Subject: [PATCH] Publish GHSA-x8jh-xj3x-gx3c --- .../GHSA-x8jh-xj3x-gx3c.json | 69 +++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 advisories/github-reviewed/2024/11/GHSA-x8jh-xj3x-gx3c/GHSA-x8jh-xj3x-gx3c.json diff --git a/advisories/github-reviewed/2024/11/GHSA-x8jh-xj3x-gx3c/GHSA-x8jh-xj3x-gx3c.json b/advisories/github-reviewed/2024/11/GHSA-x8jh-xj3x-gx3c/GHSA-x8jh-xj3x-gx3c.json new file mode 100644 index 00000000000..c15469842b8 --- /dev/null +++ b/advisories/github-reviewed/2024/11/GHSA-x8jh-xj3x-gx3c/GHSA-x8jh-xj3x-gx3c.json @@ -0,0 +1,69 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-x8jh-xj3x-gx3c", + "modified": "2024-11-12T20:48:39Z", + "published": "2024-11-12T20:48:39Z", + "aliases": [ + + ], + "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", + "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" + } + ], + "affected": [ + { + "package": { + "ecosystem": "crates.io", + "name": "fast-float" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "last_affected": "0.2.0" + } + ] + } + ] + } + ], + "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" + } + ], + "database_specific": { + "cwe_ids": [ + + ], + "severity": "LOW", + "github_reviewed": true, + "github_reviewed_at": "2024-11-12T20:48:39Z", + "nvd_published_at": null + } +} \ No newline at end of file