{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-21897",
        "ASSIGNER": "talos-cna@cisco.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Ribbonsoft",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Ribbonsoft dxflib 3.17.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-191: Integer Underflow (Wrap or Wraparound)"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346",
                "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1346"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-635599924b",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DA4C4X5GMM65VYLUW7Q7YL6P5NDB633A/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220607 [SECURITY] [DLA 3046-1] librecad security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/06/msg00008.html"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-8d01b8b6d3",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IMGMEPTYL7WTQ333J6SMC6MUHDMMWT3O/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-9d17930140",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5BUOTYU3KKIYE4BEBUFA4MRS462P3OWM/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-9cbdf39a5a",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L2H36XRMAPQBIOVIIFX6KUT5YOG2ETM6/"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability."
            }
        ]
    },
    "impact": {
        "cvss": {
            "baseScore": 8.8,
            "baseSeverity": "High",
            "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    }
}