mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-02-23 15:38:27 +01:00
Migrate all advisories to V2 format (closes #228)
As announced in #228, this commit migrates all advisories to the new V2 format, which splits version information into a separate section, and now has a structure which corresponds to the internal code structure of the `rustsec` crate. This is a breaking change for users of `cargo-audit` < 0.9, and anyone who has written a 3rd party advisory format parser.
This commit is contained in:
@@ -3,6 +3,8 @@ id = "RUSTSEC-2019-0014"
|
||||
package = "image"
|
||||
date = "2019-08-21"
|
||||
title = "Flaw in interface may drop uninitialized instance of arbitrary types"
|
||||
url = "https://github.com/image-rs/image/pull/985"
|
||||
keywords = ["drop", "use-after-free"]
|
||||
description = """
|
||||
Affected versions of this crate would call `Vec::set_len` on an uninitialized
|
||||
vector with user-provided type parameter, in an interface of the HDR image
|
||||
@@ -20,10 +22,10 @@ Starting from version `0.22`, a breaking change to the interface requires
|
||||
callers to pre-allocate the output buffer and pass a mutable slice instead,
|
||||
avoiding all unsafe code.
|
||||
"""
|
||||
patched_versions = [">= 0.21.3"]
|
||||
unaffected_versions = ["< 0.10.2"]
|
||||
url = "https://github.com/image-rs/image/pull/985"
|
||||
keywords = ["drop", "use-after-free"]
|
||||
|
||||
[affected.functions]
|
||||
"image::hdr::HDRDecoder::read_image_transform" = ["< 0.21.3, >= 0.10.2"]
|
||||
|
||||
[versions]
|
||||
patched = [">= 0.21.3"]
|
||||
unaffected = ["< 0.10.2"]
|
||||
|
||||
Reference in New Issue
Block a user