forked from rustsec/advisory-db
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add advisory for smallvec issue rustsec#149
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[advisory] | ||
id = "RUSTSEC-0000-0009" | ||
package = "smallvec" | ||
date = "2019-07-19" | ||
title = "Memory corruption in SmallVec::grow()" | ||
description = """ | ||
Attempting to call `grow` on a spilled SmallVec with a value less than the current capacity causes corruption of memory allocator data structures. | ||
An attacker that controls the value passed to `grow` may exploit this flaw to obtain memory contents or gain remote code execution. | ||
Credits to @ehuss for discovering, reporting and fixing the bug. | ||
""" | ||
patched_versions = [">= 0.6.10"] | ||
unaffected_versions = ["< 0.6.3"] | ||
url = "https://github.com/servo/rust-smallvec/issues/149" | ||
keywords = ["memory corruption", "arbitrary code execution"] | ||
affected_functions = ["smallvec::SmallVec::grow"] |