Advisory

RUSTSEC-2021-0053

Also known as: CVE-2021-31996, GHSA-jh37-772x-4hpw

Summary

'merge_sort::merge()' crashes with double-free for T: Drop

Details

In the affected versions of this crate, merge_sort::merge() wildly duplicates and drops ownership of T without guarding against double-free. Due to such implementation,
simply invoking merge_sort::merge() on Vec<T: Drop> can cause double free bugs.

Severity

Not rated by the source.

Dates

Published
2021-03-07 12:00 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

algorithmica

crates.io · All systems

Affected

  • introduced 0.0.0-0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences