CVE-2021-40402
Publication date 14 April 2022
Last updated 11 July 2025
Ubuntu priority
Cvss 3 Severity Score
Description
An out-of-bounds read vulnerability exists in the RS-274X aperture macro multiple outline primitives functionality of Gerbv 2.7.0 and dev (commit b5f1eacd), and Gerbv forked 2.7.1 and 2.8.0. A specially-crafted Gerber file can lead to information disclosure. An attacker can provide a malicious file to trigger this vulnerability.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| gerbv | 25.10 questing | 
                                Vulnerable, fix deferred 
                                
                               | 
| 25.04 plucky | 
                                Vulnerable, fix deferred 
                                
                               | |
| 24.04 LTS noble | 
                                Vulnerable, fix deferred 
                                
                               | |
| 22.04 LTS jammy | 
                                Vulnerable, fix deferred 
                                
                               | |
| 20.04 LTS focal | 
                                Vulnerable, fix deferred 
                                
                               | |
| 18.04 LTS bionic | 
                                Vulnerable, fix deferred 
                                
                               | |
| 16.04 LTS xenial | 
                                Vulnerable, fix deferred 
                                
                               | |
| 14.04 LTS trusty | Ignored end of standard support | 
Notes
iosifache
As per https://github.com/gerbv/gerbv/issues/80, the patching is still work in progress. There are multiple commits targeting this issue.
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | None | 
| Scope | Changed | 
| Confidentiality | Low | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H |