Skip to content

Commit 36fb0b7

Browse files
eduardosmtarcieri
andauthored
Add advisory for traitobject (#308)
Co-authored-by: Tony Arcieri <[email protected]>
1 parent fa0771d commit 36fb0b7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "traitobject"
4+
date = "2020-06-01"
5+
title = "traitobject assumes assumes the layout of fat pointers"
6+
url = "https://github.com/reem/rust-traitobject/issues/7"
7+
informational = "unsound"
8+
categories = ["memory-corruption"]
9+
description = """
10+
This crate gets the data pointer from fat pointers assuming that the first
11+
element in a fat pointer is the data pointer. This is currently true, but
12+
it may change in a future Rust version, leading to memory corruption.
13+
14+
This has been fixed in the master branch of the crate, but is has not
15+
been released into crates.io.
16+
"""
17+
18+
[affected.functions]
19+
"traitobject::data" = []
20+
"traitobject::data_mut" = []
21+
22+
[versions]
23+
patched = []

0 commit comments

Comments
 (0)