An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolvefeaturevalue() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.
[ { "deprecated": false, "target": { "file": "src/resolve.c" }, "signature_type": "Line", "source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8", "id": "CVE-2019-20391-16593093", "digest": { "line_hashes": [ "155430779242861446466177299443060400718", "15933832550298970296093717907452545562", "210533867413985869976612204320521306275", "217119053337116050957207098743507905420" ], "threshold": 0.9 }, "signature_version": "v1" }, { "deprecated": false, "target": { "file": "src/resolve.c", "function": "resolve_iffeature" }, "signature_type": "Function", "source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8", "id": "CVE-2019-20391-9d460c02", "digest": { "length": 143.0, "function_hash": "144887731380011650420799519691260820041" }, "signature_version": "v1" } ]