An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. Applications that use libyang to parse untrusted input yang files may crash.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
https://github.com/CESNET/libyang/commit/32fb4993bc8bb49e93e84016af3c10ea53964be5 | third party advisory patch |
https://github.com/CESNET/libyang/issues/723 | third party advisory exploit |
https://bugzilla.redhat.com/show_bug.cgi?id=1793922 | patch third party advisory issue tracking |
https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1 | third party advisory |
https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html | mailing list |