CVE-2021-29942

HIGH

reorder < 1.1.0 - Out-of-bounds Write via swap_index

Title source: llm
STIX 2.1

Description

An issue was discovered in the reorder crate through 2021-02-24 for Rust. swap_index can return uninitialized values if an iterator returns a len() that is too large.

References (1)

Core 1
Core References
Exploit, Vendor Advisory x_refsource_misc
https://rustsec.org/advisories/RUSTSEC-2021-0050.html

Scores

CVSS v3 7.3
EPSS 0.0090
EPSS Percentile 55.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Details

CWE
CWE-787
Status published
Products (2)
crates.io/reorder 0 - 1.1.0crates.io
reorder_project/reorder < 2021-02-24
Published Apr 01, 2021
Tracked Since Feb 18, 2026