CVE-2019-19333
libyang: stack-based buffer overflow in make_canonical when bits leaf type is used
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon Red Hat (élevée), Oracle (élevée).
Description
In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| debian 10 | libyang | 0.16.105-1+deb10u1 |
| debian 11 | libyang | 0.16.105-2 |
| debian 13 | libyang | 0.16.105-2 |
| debian 14 | libyang | 0.16.105-2 |
| echo | libyang | 0.16.105-2 |
| Oracle Linux 8 | libyang | 0.16.105-3.el8_1.2 |
Références
- https://access.redhat.com/errata/RHSA-2019:4360
- https://access.redhat.com/security/cve/CVE-2019-19333
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-19333
- https://github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d
- https://linux.oracle.com/cve/CVE-2019-19333.html
- https://linux.oracle.com/errata/ELSA-2019-4360.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PETB6TVMFV5KUD4IKVP2JPLBCYHUGSAJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RL54JMS7XW7PI6JC4BFSNNLSX5AINQUL/