PT-2021-19594 · Rkyv · Rkyv

Published

2021-04-28

·

Updated

2022-07-12

·

CVE-2021-31919

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: rkyv versions prior to 0.6.0
Description: The issue concerns the rkyv crate, a serialization framework for Rust, where archives created via serialization may contain uninitialized values of certain struct parts. This occurs because during serialization, struct padding bytes and unused enum bytes may not be initialized, potentially leading to these bytes being written to disk or sent over unsecured channels.
Recommendations: For versions prior to 0.6.0, update to version 0.6.0 or later to resolve the issue.

Fix

Use of Uninitialized Resource

Missing Release of Resource after Effective Lifetime

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-31919
GHSA-W5CR-FRPH-HW7F
RUSTSEC-2021-0054

Affected Products

Rkyv