Skip to content

Add advisory for traitobject #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions crates/traitobject/RUSTSEC-0000-0000.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[advisory]
id = "RUSTSEC-0000-0000"
package = "traitobject"
date = "2020-06-01"
title = "traitobject assumes assumes the layout of fat pointers"
url = "https://github.com/reem/rust-traitobject/issues/7"
informational = "unsound"
categories = ["memory-corruption"]
description = """
This crate gets the data pointer from fat pointers assuming that the first
element in a fat pointer is the data pointer. This is currently true, but
it may change in a future Rust version, leading to memory corruption.

This has been fixed in the master branch of the crate, but is has not
been released into crates.io.
"""

[affected.functions]
"traitobject::data" = []
"traitobject::data_mut" = []

[versions]
patched = []