First published: Wed Dec 22 2021(Updated: )
An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.
Credit: talos-cna@cisco.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/gerbv | <=2.7.0-1+deb10u1 | 2.7.0-1+deb10u3 2.7.0-2+deb11u2 2.9.6-1 2.10.0-1 |
Gerbv | =2.7.0 | |
Debian GNU/Linux | =9.0 | |
Debian GNU/Linux | =10.0 | |
Debian GNU/Linux | =11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-40393 has been rated as critical due to its potential for arbitrary code execution.
To mitigate CVE-2021-40393, update Gerbv to version 2.7.0-2+deb11u2 or later.
CVE-2021-40393 affects Gerbv versions up to 2.7.0 and Debian GNU/Linux versions 9, 10, and 11.
Yes, an attacker can exploit CVE-2021-40393 by providing a specially-crafted gerber file.
There is no official workaround for CVE-2021-40393; patching is the recommended solution.