Integer overflow in Gerbv - CVE-2021-40394

 

Integer overflow in Gerbv - CVE-2021-40394

Published: December 10, 2021


Vulnerability identifier: #VU58823
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-40394
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in the RS-274X aperture macro outline primitive functionality. A remote attacker can use a specially crafted gerber file, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gerbv
Debian Linux
gerbv (Debian package)

How to mitigate CVE-2021-40394

Install updates from vendor's website.

Gerbv - update to 2.7.1
gerbv (Debian package) - update to 2.7.0-2+deb11u2

External References

Related Security Bulletins