Deserialization of Untrusted Data Affecting rkyv package, versions <0.6.0


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Deserialization of Untrusted Data vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-RKYV-1278992
  • published3 May 2021
  • disclosed28 Apr 2021
  • creditUnknown

Introduced: 28 Apr 2021

CVE NOT AVAILABLE CWE-502  (opens in a new tab)

How to fix?

Upgrade rkyv to version 0.6.0 or higher.

Overview

rkyv is a zero-copy deserialization framework for Rust.

Affected versions of this package are vulnerable to Deserialization of Untrusted Data. During serialization, struct padding bytes and unused enum bytes may not be initialized. These bytes may be written to disk or sent over unsecured channels.

References

CVSS Scores

version 3.1