{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2021-42780",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "assignerShortName": "redhat",
        "dateUpdated": "2024-08-04T03:38:50.079Z",
        "dateReserved": "2021-10-21T00:00:00",
        "datePublished": "2022-04-18T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2023-06-21T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "opensc",
                    "versions": [
                        {
                            "version": "opensc 0.22.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383"
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2016139"
                },
                {
                    "url": "https://github.com/OpenSC/OpenSC/commit/5df913b7"
                },
                {
                    "name": "GLSA-202209-03",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202209-03"
                },
                {
                    "name": "[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-252",
                            "cweId": "CWE-252"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T03:38:50.079Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2016139",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/OpenSC/OpenSC/commit/5df913b7",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202209-03",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202209-03"
                    },
                    {
                        "name": "[debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html"
                    }
                ]
            }
        ]
    }
}