Advisory

GHSA-w5cr-frph-hw7f

Also known as: CVE-2021-31919, RUSTSEC-2021-0054

Summary

Use of uninitialized buffer in rkyv

Details

An issue was discovered in the rkyv crate before 0.6.0 for Rust. When an archive is created via serialization, the archive content may contain uninitialized values of certain parts of a struct.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 21:01 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

rkyv

crates.io · All systems

Affected

  • introduced 0, fixed 0.6.0 (semver)

Fixed versions

0.6.0

Fix

  • Fixed version 0.6.0
    cargo update -p rkyv --precise 0.6.0

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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences