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.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"155430779242861446466177299443060400718",
"15933832550298970296093717907452545562",
"210533867413985869976612204320521306275",
"217119053337116050957207098743507905420"
]
},
"target": {
"file": "src/resolve.c"
},
"signature_version": "v1",
"id": "CVE-2019-20391-16593093",
"deprecated": false,
"source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8",
"signature_type": "Line"
},
{
"digest": {
"function_hash": "144887731380011650420799519691260820041",
"length": 143.0
},
"target": {
"file": "src/resolve.c",
"function": "resolve_iffeature"
},
"signature_version": "v1",
"id": "CVE-2019-20391-9d460c02",
"deprecated": false,
"source": "https://github.com/cesnet/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8",
"signature_type": "Function"
}
]