Out-of-bounds write in zlog - CVE-2021-43521

 

Out-of-bounds write in zlog - CVE-2021-43521

Published: February 28, 2024


Vulnerability identifier: #VU86909
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-43521
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input within the zlog_conf_build_with_file() function in src/zlog/src/conf.c. A remote attacker can pass specially crafted input to the application, trigger an out-of-bounds write and execute arbitrary code on the target system.


Affected software

zlog
openEuler
zlog
zlog-debuginfo
zlog-debugsource

How to mitigate CVE-2021-43521

Install updates from vendor's website.

zlog - update to 1.2.16
zlog - update to 1.2.15-3
zlog-debuginfo - update to 1.2.15-3
zlog-debugsource - update to 1.2.15-3

External References

Related Security Bulletins