NULL pointer dereference in libyang - CVE-2023-26916
Published: August 18, 2023
Vulnerability identifier: #VU79701
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-26916
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the lys_parse_mem() function in lys_parse_mem.c. A remote attacker can perform a denial of service attack.
Affected software
libyang
Fedora
Ubuntu
libyang
libyang2 (Ubuntu package)
Session Smart Router
Fedora
Ubuntu
libyang
libyang2 (Ubuntu package)
Session Smart Router
How to mitigate CVE-2023-26916
Install update from vendor's website.
libyang - update to 2.1.30
libyang - addressed in versions 2.0.164-2.el7, 2.1.55-1.fc36, 2.1.55-1.fc37
libyang2 (Ubuntu package) - update to 2.1.30-2.1ubuntu0.1
Session Smart Router - addressed in versions 6.2.10, 6.3.7
libyang - addressed in versions 2.0.164-2.el7, 2.1.55-1.fc36, 2.1.55-1.fc37
libyang2 (Ubuntu package) - update to 2.1.30-2.1ubuntu0.1
Session Smart Router - addressed in versions 6.2.10, 6.3.7
External References
- https://github.com/CESNET/libyang/issues/1979
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS/