{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2021-20316",
        "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": "Affects samba file server before v4.15.0, Fixed in samba v4.15.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.samba.org/show_bug.cgi?id=14842",
                "url": "https://bugzilla.samba.org/show_bug.cgi?id=14842"
            },
            {
                "refsource": "MISC",
                "name": "https://www.samba.org/samba/security/CVE-2021-20316.html",
                "url": "https://www.samba.org/samba/security/CVE-2021-20316.html"
            },
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2009673",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2009673"
            },
            {
                "refsource": "MISC",
                "name": "https://access.redhat.com/security/cve/CVE-2021-20316",
                "url": "https://access.redhat.com/security/cve/CVE-2021-20316"
            },
            {
                "refsource": "MISC",
                "name": "https://security-tracker.debian.org/tracker/CVE-2021-20316",
                "url": "https://security-tracker.debian.org/tracker/CVE-2021-20316"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202309-06",
                "url": "https://security.gentoo.org/glsa/202309-06"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in the way Samba handled file/directory metadata. This flaw allows an authenticated attacker with permissions to read or modify share metadata, to perform this operation outside of the share."
            }
        ]
    }
}