CVE-2020-35923
MEDIUM 5.5CVSS 3.1ordered_float:NotNan may contain NaN after panic in assignment operators
An issue was discovered in the ordered-float crate before 1.1.1 and 2.x before 2.0.1 for Rust. A NotNan value can contain a NaN.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416CWE-460
- Also known as
- GHSA-566x-hhrf-qf8mRUSTSEC-2020-0082
- Sources
- NVDJSONOSV GHSA-566x-hhrf-qf8mJSONOSV RUSTSEC-2020-0082JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ordered-float_project | ordered-floatcpe:2.3:a:ordered-float_project:ordered-float:*:*:*:*:*:*:*:* |
>= 0.2.2, < 1.1.1 | 1.1.1 |
| NVD | ordered-float_project | ordered-floatcpe:2.3:a:ordered-float_project:ordered-float:*:*:*:*:*:*:*:* |
>= 2.0.0, < 2.0.1 | 2.0.1 |
| OSV | crates.io | ordered-float | >= 2.0.0, < 2.0.1 | 2.0.1 |
| OSV | crates.io | ordered-float | >= 0.2.2, < 1.1.1 | 1.1.1 |
| OSV | crates.io | ordered-float | >= 0.2.2, < 1.1.1; >= 2.0.0-0, < 2.0.1 | 1.1.1, 2.0.1 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0082.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35923 · ADVISORY
- https://github.com/reem/rust-ordered-float/pull/71 · WEB
- https://github.com/reem/rust-ordered-float/commit/c55cda301c943270b7eb2b4765bedbcce56edb90 · WEB
- https://github.com/reem/rust-ordered-float/commit/da4a8dd49300740a434c095a9c4b408d2415cc08 · WEB
- https://github.com/reem/rust-ordered-float · PACKAGE
- https://crates.io/crates/ordered-float · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)