In LoadPartitionTable of gpt.cc, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege when inserting a malicious USB device, with no additional execution privileges needed. User interaction is not needed for exploitation.
{
    "vanir_signatures": [
        {
            "deprecated": false,
            "target": {
                "file": "gpt.cc"
            },
            "signature_type": "Line",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "41189207655891059859167090529817598632",
                    "308456246001391846981234990171806103081",
                    "130492737334370976961864212511290515607",
                    "189236150705486283594326498183963354117"
                ]
            },
            "id": "ASB-A-152874864-5d787553",
            "signature_version": "v1"
        },
        {
            "deprecated": false,
            "target": {
                "function": "GPTData::LoadPartitionTable",
                "file": "gpt.cc"
            },
            "signature_type": "Function",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "function_hash": "86726952141382446110111110173821165684",
                "length": 1021.0
            },
            "id": "ASB-A-152874864-900c6f85",
            "signature_version": "v1"
        }
    ],
    "severity": "High",
    "spl": "2020-08-01",
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"
    ]
}{
    "vanir_signatures": [
        {
            "deprecated": false,
            "target": {
                "file": "gpt.cc"
            },
            "signature_type": "Line",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "41189207655891059859167090529817598632",
                    "308456246001391846981234990171806103081",
                    "130492737334370976961864212511290515607",
                    "189236150705486283594326498183963354117"
                ]
            },
            "id": "ASB-A-152874864-22bf3ac9",
            "signature_version": "v1"
        },
        {
            "deprecated": false,
            "target": {
                "function": "GPTData::LoadPartitionTable",
                "file": "gpt.cc"
            },
            "signature_type": "Function",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "function_hash": "86726952141382446110111110173821165684",
                "length": 1021.0
            },
            "id": "ASB-A-152874864-8d3ebf93",
            "signature_version": "v1"
        }
    ],
    "severity": "High",
    "spl": "2020-08-01",
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"
    ]
}{
    "vanir_signatures": [
        {
            "deprecated": false,
            "target": {
                "file": "gpt.cc"
            },
            "signature_type": "Line",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "41189207655891059859167090529817598632",
                    "308456246001391846981234990171806103081",
                    "130492737334370976961864212511290515607",
                    "189236150705486283594326498183963354117"
                ]
            },
            "id": "ASB-A-152874864-b1b25098",
            "signature_version": "v1"
        },
        {
            "deprecated": false,
            "target": {
                "function": "GPTData::LoadPartitionTable",
                "file": "gpt.cc"
            },
            "signature_type": "Function",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "function_hash": "86726952141382446110111110173821165684",
                "length": 1021.0
            },
            "id": "ASB-A-152874864-bf977b9e",
            "signature_version": "v1"
        }
    ],
    "severity": "High",
    "spl": "2020-08-01",
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"
    ]
}{
    "vanir_signatures": [
        {
            "deprecated": false,
            "target": {
                "file": "gpt.cc"
            },
            "signature_type": "Line",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "41189207655891059859167090529817598632",
                    "308456246001391846981234990171806103081",
                    "130492737334370976961864212511290515607",
                    "189236150705486283594326498183963354117"
                ]
            },
            "id": "ASB-A-152874864-536aab85",
            "signature_version": "v1"
        },
        {
            "deprecated": false,
            "target": {
                "function": "GPTData::LoadPartitionTable",
                "file": "gpt.cc"
            },
            "signature_type": "Function",
            "source": "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083",
            "digest": {
                "function_hash": "86726952141382446110111110173821165684",
                "length": 1021.0
            },
            "id": "ASB-A-152874864-789e6262",
            "signature_version": "v1"
        }
    ],
    "severity": "High",
    "spl": "2020-08-01",
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/gptfdisk/+/7ffd0a26064cf25c0922f2bab511e4b4e8149083"
    ]
}