mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-04 18:50:34 +01:00
20 lines
745 B
TOML
20 lines
745 B
TOML
[advisory]
|
|
id = "RUSTSEC-2019-0012"
|
|
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"
|
|
categories = ["code-execution", "memory-corruption"]
|
|
|
|
[affected.functions]
|
|
"smallvec::SmallVec::grow" = ["< 0.6.10, >= 0.6.3"]
|