Buffer overflow in Gerbv - CVE-2021-40393
Published: December 10, 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 the RS-274X aperture macro variables handling functionality. A remote attacker can create a specially crafted gerber file, trigger memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Debian Linux
Fedora
gerbv (Debian package)
gerbv
How to mitigate CVE-2021-40393
gerbv (Debian package) - update to 2.7.0-2+deb11u2
gerbv - update to 2.9.8-1.fc37