SB2023070744 - Ubuntu update for gerbv



SB2023070744 - Ubuntu update for gerbv

Published: July 7, 2023 Updated: October 31, 2026

Security Bulletin ID SB2023070744
CSH Severity
High
Patch available
YES
Number of vulnerabilities 6
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 83% Medium 17%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 6 vulnerabilities.


1) Out-of-bounds write (CVE-ID: CVE-2021-40391)

CWE-ID: CWE-787 - Out-of-bounds write

CVSSv4: 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]


The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input in the drill format T-code tool number functionality. A remote attacker can use a specially crafted drill file, trigger out-of-bounds write and execute arbitrary code on the target system.


2) Buffer overflow (CVE-ID: CVE-2021-40393)

CWE-ID: CWE-119 - Memory corruption

CVSSv4: 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]


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.


3) Integer overflow (CVE-ID: CVE-2021-40394)

CWE-ID: CWE-190 - Integer overflow

CVSSv4: 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]


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.


4) Out-of-bounds read (CVE-ID: CVE-2021-40400)

CWE-ID: CWE-125 - Out-of-bounds read

CVSSv4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to a boundary condition in the RS-274X aperture macro outline primitive functionality. A remote attacker can use a specially crafted Gerber file, trigger out-of-bounds read error and read contents of memory on the system or perform a denial of service (DoS) attack.


5) Use-after-free (CVE-ID: CVE-2021-40401)

CWE-ID: CWE-416 - Use After Free

CVSSv4: 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]


The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error in the RS-274X aperture definition tokenization functionality. A remote attacker can send a specially crafted gerber file and execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


6) Missing Initialization of a Variable (CVE-ID: CVE-2021-40403)

CWE-ID: CWE-456 - Missing Initialization of a Variable

CVSSv4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to gain access to potentially sensitive information.

The vulnerability exists due to the missing initialization of a structure in the pick-and-place rotation parsing functionality. A remote attacker can use a specially crafted pick-and-place file and gain access to sensitive information on the system.


Remediation

Install update from vendor's website.