Bug 1158631 - (CVE-2019-19333) VUL-0: CVE-2019-19333: libyang: stack-based buffer overflow in make_canonical when bits leaf type is used
(CVE-2019-19333)
VUL-0: CVE-2019-19333: libyang: stack-based buffer overflow in make_canonical...
Status: IN_PROGRESS
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 15.1
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Martin Hauke
Security Team bot
https://smash.suse.de/issue/248485/
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-12-06 08:52 UTC by Robert Frohl
Modified: 2020-01-12 21:54 UTC (History)
0 users

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Frohl 2019-12-06 08:52:08 UTC
rh#1779573

libyang up to version 1 release 4 has a stack-based buffer overflow in function make_canonical() in parser.c, when dealing with "bits" types with a name longer than 511 bytes. An application that uses libyang to validate untrusted YANG files could be vulnerable to this flaw, which could be used by an attacker to cause a denial of service or possibly gain code execution.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1779573
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-19333
Comment 1 Robert Frohl 2019-12-06 08:52:46 UTC
only affects openSUSE:Factory
Comment 2 Martin Hauke 2020-01-12 21:54:00 UTC
The issue was fixed with SR#755393
https://build.opensuse.org/request/show/755393