{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-40393",
        "assignerOrgId": "b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b",
        "assignerShortName": "talos",
        "dateUpdated": "2024-08-04T02:44:09.649Z",
        "dateReserved": "2021-09-01T00:00:00",
        "datePublished": "2021-12-22T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b",
                "shortName": "talos",
                "dateUpdated": "2023-09-30T16:06:21.045844"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "An out-of-bounds write vulnerability exists in the RS-274X aperture macro variables handling functionality of Gerbv 2.7.0 and dev (commit b5f1eacd) and the forked version of Gerbv (commit 71493260). A specially-crafted gerber file can lead to code execution. An attacker can provide a malicious file to trigger this vulnerability."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "Gerbv",
                    "versions": [
                        {
                            "version": "Gerbv 2.7.0, Gerbv dev (commit b5f1eacd),Gerbv forked dev (commit 71493260)",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404"
                },
                {
                    "name": "DSA-5306",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5306"
                },
                {
                    "name": "FEDORA-2023-5f5bea627b",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/"
                },
                {
                    "name": "[debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "CHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 10,
                        "baseSeverity": "CRITICAL"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer",
                            "cweId": "CWE-119"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T02:44:09.649Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1404",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "DSA-5306",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5306"
                    },
                    {
                        "name": "FEDORA-2023-5f5bea627b",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37OSNNO5N5FJZP6ZBYRJMML5HYMJQIX7/"
                    },
                    {
                        "name": "[debian-lts-announce] 20230930 [SECURITY] [DLA 3593-1] gerbv security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/09/msg00040.html"
                    }
                ]
            }
        ]
    }
}