Heap-based buffer overflow in libebml - CVE-2021-3405
Published: March 26, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in EbmlString::ReadData and EbmlUnicodeString::ReadData in libebml. A remote attacker can pass specially crafted file to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Gentoo Linux
Fedora
dev-libs/libebml
libebml
How to mitigate CVE-2021-3405
dev-libs/libebml - update to 1.4.2
libebml - addressed in versions 1.4.2-1.fc32, 1.4.2-1.fc33, 1.4.2-1.fc34
External References
- https://github.com/Matroska-Org/libebml/issues/74
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JNHQI6MDOECJ2HT5GCLEX2DMJFEOWPW7/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UHIIMWZKHHELFF4NRDMOOCS3HKK3K4DF/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YY7R2JZRO5I6WS62KTJFTZGKYELVFTVB/