{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-20254",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "samba",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "samba 4.14.1, samba 4.13.6, samba 4.12.13"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-125"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=1949442",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1949442"
            },
            {
                "refsource": "MISC",
                "name": "https://www.samba.org/samba/security/CVE-2021-20254.html",
                "url": "https://www.samba.org/samba/security/CVE-2021-20254.html"
            },
            {
                "refsource": "MISC",
                "name": "https://security.netapp.com/advisory/ntap-20210430-0001/",
                "url": "https://security.netapp.com/advisory/ntap-20210430-0001/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-1d0807008b",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-7026246ea9",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202105-22",
                "url": "https://security.gentoo.org/glsa/202105-22"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20210529 [SECURITY] [DLA 2668-1] samba security update",
                "url": "https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). The code that performs this had a flaw that could allow it to read data beyond the end of the array in the case where a negative cache entry had been added to the mapping cache. This could cause the calling code to return those values into the process token that stores the group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity."
            }
        ]
    }
}