{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-21899",
        "assignerOrgId": "b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b",
        "assignerShortName": "talos",
        "dateUpdated": "2024-08-03T18:30:22.887Z",
        "dateReserved": "2021-01-04T00:00:00",
        "datePublished": "2021-11-19T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b86d76f8-0f8a-4a96-a78d-d8abfc7fc29b",
                "shortName": "talos",
                "dateUpdated": "2023-05-21T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A code execution vulnerability exists in the dwgCompressor::copyCompBytes21 functionality of LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580. A specially-crafted .dwg file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "LibreCAD",
                    "versions": [
                        {
                            "version": "LibreCad libdxfrw 2.2.0-rc2-19-ge02f3580",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1350"
                },
                {
                    "name": "FEDORA-2021-fa9e3c23f2",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDI3HCTCACMIC7I4ILB3NRU6DCMADI5H/"
                },
                {
                    "name": "FEDORA-2021-67c946a9f3",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTIAMP7QJDKV4ADDLR4GVVX2TXYLHVOZ/"
                },
                {
                    "name": "[debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00002.html"
                },
                {
                    "name": "DSA-5077",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5077"
                },
                {
                    "name": "GLSA-202305-26",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202305-26"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "REQUIRED",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.8,
                        "baseSeverity": "HIGH"
                    }
                }
            ],
            "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-03T18:30:22.887Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://talosintelligence.com/vulnerability_reports/TALOS-2021-1350",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "FEDORA-2021-fa9e3c23f2",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RDI3HCTCACMIC7I4ILB3NRU6DCMADI5H/"
                    },
                    {
                        "name": "FEDORA-2021-67c946a9f3",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTIAMP7QJDKV4ADDLR4GVVX2TXYLHVOZ/"
                    },
                    {
                        "name": "[debian-lts-announce] 20211203 [SECURITY] [DLA 2838-1] librecad security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2021/12/msg00002.html"
                    },
                    {
                        "name": "DSA-5077",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5077"
                    },
                    {
                        "name": "GLSA-202305-26",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202305-26"
                    }
                ]
            }
        ]
    }
}