mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-01 09:10:25 +01:00
As proposed in #240 and tracked in #414, this PR translates all advisories into the new "V3" advisory format, which is based on Markdown with leading TOML front matter. This format makes it easier to see rendered Markdown syntax descriptions, whether rendered by an IDE or GitHub. This should help with both crafting advisories initially as well as review, and ideally encourages more lengthy descriptions. Support for this format shipped in `cargo-audit` v0.12.0 on May 6th, 2020.
25 lines
752 B
Markdown
25 lines
752 B
Markdown
```toml
|
|
[advisory]
|
|
id = "RUSTSEC-2019-0012"
|
|
package = "smallvec"
|
|
aliases = ["CVE-2019-15554"]
|
|
categories = ["code-execution", "memory-corruption"]
|
|
date = "2019-07-19"
|
|
url = "https://github.com/servo/rust-smallvec/issues/149"
|
|
|
|
[affected.functions]
|
|
"smallvec::SmallVec::grow" = ["< 0.6.10, >= 0.6.3"]
|
|
|
|
[versions]
|
|
patched = [">= 0.6.10"]
|
|
unaffected = ["< 0.6.3"]
|
|
```
|
|
|
|
# Memory corruption in SmallVec::grow()
|
|
|
|
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.
|