CVE-2021-40402

Publication date 14 April 2022

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

9.3 · Critical

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
gerbv 25.04 plucky
Vulnerable, fix deferred
24.10 oracular
Vulnerable, fix deferred
24.04 LTS noble
Vulnerable, fix deferred
23.10 mantic Ignored end of life, was deferred [2023-07-07]
23.04 lunar Ignored end of life, was deferred [2023-07-07]
22.10 kinetic Ignored end of life, was deferred [2023-07-07]
22.04 LTS jammy
Vulnerable, fix deferred
21.10 impish Ignored end of life
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 9.3 · Critical
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