Advisory

RUSTSEC-2020-0007

Also known as: CVE-2020-35862, GHSA-7cjc-hvxf-gqh7

Summary

use-after or double free of allocated memory

Details

Conversion of BitVec to BitBox did not account for allocation movement.

The flaw was corrected by using the address after resizing, rather than the original base address.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2020-03-27 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

bitvec

crates.io · All systems

Affected

  • introduced 0.11.0, fixed 0.17.4 (semver)

Fixed versions

0.17.4

Fix

  • Fixed version 0.17.4
    cargo update -p bitvec --precise 0.17.4

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