CVE-2021-40401

Source
https://cve.org/CVERecord?id=CVE-2021-40401
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40401.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40401
Downstream
Related
Published
2022-02-04T23:15:11.833Z
Modified
2026-03-14T11:08:33.671226Z
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

Git / github.com/gerbv/gerbv

Affected ranges

Type
GIT
Repo
https://github.com/gerbv/gerbv
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.0-NA"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "2.7.1-forked_dev"
        }
    ]
}

Affected versions

Other
gerbv-2-7-RELEASE
v2.*
v2.6.1
v2.7.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "36"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "11.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40401.json"