From f22c3798f62e0c1756473b7bbb8618043ff928a0 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Mon, 17 Sep 2018 08:44:14 +0200 Subject: [PATCH] Add advisory for serde_yaml --- crates/serde_yaml/RUSTSEC-0000-0000.toml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 crates/serde_yaml/RUSTSEC-0000-0000.toml diff --git a/crates/serde_yaml/RUSTSEC-0000-0000.toml b/crates/serde_yaml/RUSTSEC-0000-0000.toml new file mode 100644 index 0000000..fdbae15 --- /dev/null +++ b/crates/serde_yaml/RUSTSEC-0000-0000.toml @@ -0,0 +1,18 @@ +[advisory] +id = "RUSTSEC-0000-0000" +package = "serde_yaml" +date = "2018-09-17" +title = "Uncontrolled recursion leads to abort in deserialization" +description = """ +Affected versions of this crate did not properly check for recursion +while deserializing aliases. + +This allows an attacker to make a YAML file with an alias referring +to itself causing an abort. + +The flaw was corrected by checking the recursion depth. +""" +patched_versions = [">= 0.8.4"] +unaffected_versions = ["< 0.6.0-rc1"] +url = "https://github.com/dtolnay/serde-yaml/pull/105" +keywords = ["crash"]