CVE-2021-40393: Buffer Overflow
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-40393?
CVE-2021-40393 has been rated as critical due to its potential for arbitrary code execution.
How do I fix CVE-2021-40393?
To mitigate CVE-2021-40393, update Gerbv to version 2.7.0-2+deb11u2 or later.
What software is affected by CVE-2021-40393?
CVE-2021-40393 affects Gerbv versions up to 2.7.0 and Debian GNU/Linux versions 9, 10, and 11.
Can CVE-2021-40393 be exploited remotely?
Yes, an attacker can exploit CVE-2021-40393 by providing a specially-crafted gerber file.
Is there a known workaround for CVE-2021-40393?
There is no official workaround for CVE-2021-40393; patching is the recommended solution.