{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "Android",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "Android-9"
                        },
                        {
                            "status": "affected",
                            "version": "Android-8.1"
                        },
                        {
                            "status": "affected",
                            "version": "Android-10"
                        },
                        {
                            "status": "affected",
                            "version": "Android-11"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write due to a use-after-free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-9, Android-8.1, Android-10, Android-11; Android ID: A-168211968."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "Elevation of privilege",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2021-01-11T21:47:31",
                "orgId": "baff130e-b8d5-4e15-b3d3-c3cf5d5545c6",
                "shortName": "google_android"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://source.android.com/security/bulletin/2021-01-01"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "security@android.com",
                    "ID": "CVE-2021-0318",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "Android",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "Android-9"
                                                    },
                                                    {
                                                        "version_value": "Android-8.1"
                                                    },
                                                    {
                                                        "version_value": "Android-10"
                                                    },
                                                    {
                                                        "version_value": "Android-11"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "In appendEventsToCacheLocked of SensorEventConnection.cpp, there is a possible out of bounds write due to a use-after-free. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation. Product: Android; Versions: Android-9, Android-8.1, Android-10, Android-11; Android ID: A-168211968."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Elevation of privilege"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://source.android.com/security/bulletin/2021-01-01",
                            "refsource": "CONFIRM",
                            "url": "https://source.android.com/security/bulletin/2021-01-01"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T15:32:10.680Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://source.android.com/security/bulletin/2021-01-01"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "baff130e-b8d5-4e15-b3d3-c3cf5d5545c6",
        "assignerShortName": "google_android",
        "cveId": "CVE-2021-0318",
        "datePublished": "2021-01-11T21:47:31",
        "dateReserved": "2020-11-06T00:00:00",
        "dateUpdated": "2024-08-03T15:32:10.680Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}