Skip to content

Commit 587ac01

Browse files
authored
Merge pull request rustsec#127 from Shnatsel/patch-1
Add advisory for smallvec issue rustsec#149
2 parents b8451d4 + 1507004 commit 587ac01

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[advisory]
2+
id = "RUSTSEC-0000-0000"
3+
package = "smallvec"
4+
date = "2019-07-19"
5+
title = "Memory corruption in SmallVec::grow()"
6+
description = """
7+
Attempting to call `grow` on a spilled SmallVec with a value less than the current capacity causes corruption of memory allocator data structures.
8+
9+
An attacker that controls the value passed to `grow` may exploit this flaw to obtain memory contents or gain remote code execution.
10+
11+
Credits to @ehuss for discovering, reporting and fixing the bug.
12+
"""
13+
patched_versions = [">= 0.6.10"]
14+
unaffected_versions = ["< 0.6.3"]
15+
url = "https://github.com/servo/rust-smallvec/issues/149"
16+
keywords = ["memory corruption", "arbitrary code execution"]
17+
affected_functions = ["smallvec::SmallVec::grow"]

0 commit comments

Comments
 (0)