CVE-2021-40402

Source
https://cve.org/CVERecord?id=CVE-2021-40402
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40402.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-40402
Downstream
Published
2022-04-14T20:15:08.890Z
Modified
2026-07-09T05:44:56.542548Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/gerbv/gerbv

Affected ranges

Type
GIT
Repo
https://github.com/gerbv/gerbv
Events
Database specific
{
    "cpe": [
        "cpe:2.3:a:gerbv_project:gerbv:2.7.0:-:*:*:*:*:*:*",
        "cpe:2.3:a:gerbv_project:gerbv:2.7.0:dev:*:*:*:*:*:*",
        "cpe:2.3:a:gerbv_project:gerbv:2.7.1:-:*:*:*:*:*:*",
        "cpe:2.3:a:gerbv_project:gerbv:2.8.0:-:*:*:*:*:*:*"
    ],
    "extracted_events": [
        {
            "introduced": "2.7.0-NA"
        },
        {
            "last_affected": "2.7.0-NA"
        },
        {
            "introduced": "2.7.0-dev"
        },
        {
            "last_affected": "2.7.0-dev"
        },
        {
            "introduced": "2.7.1-NA"
        },
        {
            "last_affected": "2.7.1-NA"
        },
        {
            "introduced": "2.8.0-NA"
        },
        {
            "last_affected": "2.8.0-NA"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

2.*
2.7.0-NA
2.7.1-NA
2.8.0-NA
Other
gerbv-2-7-RELEASE
gerbv-2-8-0-RC-1
v2.*
v2.7.0
v2.8.0
v2.8.0-rc.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-40402.json"