{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-40402",
        "STATE": "PUBLIC",
        "DATE_PUBLIC": "2022-02-28",
        "ASSIGNER": "talos-cna@cisco.com"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416",
                "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1416"
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-755: Improper Handling of Exceptional Conditions"
                    }
                ]
            }
        ]
    },
    "impact": {
        "cvss": {
            "baseScore": 9.3,
            "baseSeverity": "Critical",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:H",
            "version": "3.0"
        }
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Gerbv",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Gerbv",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "2.7.0",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "dev  (commit b5f1eacd)",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            },
                            {
                                "product_name": "Gerbv forked",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "2.7.1",
                                            "version_affected": "="
                                        },
                                        {
                                            "version_value": "2.8.0",
                                            "version_affected": "="
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    }
}