UBUNTU-CVE-2021-40401

Source
https://ubuntu.com/security/CVE-2021-40401
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40401.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-40401
Related
Published
2022-02-04T23:15:00Z
Modified
2022-02-04T23:15:00Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A use-after-free vulnerability exists in the RS-274X aperture definition tokenization functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and Gerbv forked 2.7.1. A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability.

References

Affected packages

Ubuntu:Pro:16.04:LTS / gerbv

Package

Name
gerbv
Purl
pkg:deb/ubuntu/gerbv?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.0-1ubuntu0.16.04.1~esm1

Affected versions

2.*

2.6.0-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.0-1ubuntu0.16.04.1~esm1",
            "binary_name": "gerbv"
        },
        {
            "binary_version": "2.6.0-1ubuntu0.16.04.1~esm1",
            "binary_name": "gerbv-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / gerbv

Package

Name
gerbv
Purl
pkg:deb/ubuntu/gerbv?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-3ubuntu0.1~esm1

Affected versions

2.*

2.6.1-2
2.6.1-3

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.1-3ubuntu0.1~esm1",
            "binary_name": "gerbv"
        },
        {
            "binary_version": "2.6.1-3ubuntu0.1~esm1",
            "binary_name": "gerbv-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / gerbv

Package

Name
gerbv
Purl
pkg:deb/ubuntu/gerbv?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.0-1ubuntu0.1

Affected versions

2.*

2.7.0-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.7.0-1ubuntu0.1",
            "binary_name": "gerbv"
        },
        {
            "binary_version": "2.7.0-1ubuntu0.1",
            "binary_name": "gerbv-dbgsym"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / gerbv

Package

Name
gerbv
Purl
pkg:deb/ubuntu/gerbv?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.8.2-1ubuntu0.1~esm1

Affected versions

2.*

2.7.0-2
2.7.1-1
2.8.0-1
2.8.1-1
2.8.2-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.8.2-1ubuntu0.1~esm1",
            "binary_name": "gerbv"
        },
        {
            "binary_version": "2.8.2-1ubuntu0.1~esm1",
            "binary_name": "gerbv-dbgsym"
        }
    ]
}