{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-6564",
        "assignerOrgId": "c15abc07-96a9-4d11-a503-5d621bfe42ba",
        "state": "PUBLISHED",
        "assignerShortName": "ASRG",
        "dateReserved": "2024-07-08T15:06:44.987Z",
        "datePublished": "2024-07-08T15:18:17.265Z",
        "dateUpdated": "2024-08-01T21:41:03.762Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "packageName": "arm-trusted-firmware",
                    "product": "rcar_gen3_v2.5",
                    "programFiles": [
                        "https://github.com/renesas-rcar/arm-trusted-firmware/blob/rcar_gen3_v2.5/drivers/renesas/common/io/io_rcar.c"
                    ],
                    "repo": "https://github.com/renesas-rcar/arm-trusted-firmware/",
                    "vendor": "Renesas",
                    "versions": [
                        {
                            "lessThanOrEqual": "c9fb3558410032d2660c7f3b7d4b87dec09fe2f2",
                            "status": "affected",
                            "version": "c2f286820471ed276c57e603762bd831873e5a17",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "Tomer Fichman"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<span style=\"background-color: rgb(255, 255, 255);\">Buffer overflow in \"rcar_dev_init\"  due to using due to using untrusted data (rcar_image_number) as a loop counter before verifying it against RCAR_MAX_BL3X_IMAGE. This could lead to a full bypass of secure boot.</span><br>"
                        }
                    ],
                    "value": "Buffer overflow in \"rcar_dev_init\"  due to using due to using untrusted data (rcar_image_number) as a loop counter before verifying it against RCAR_MAX_BL3X_IMAGE. This could lead to a full bypass of secure boot."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-100",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-100 Overflow Buffers"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.7,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-120",
                            "description": "CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "c15abc07-96a9-4d11-a503-5d621bfe42ba",
                "shortName": "ASRG",
                "dateUpdated": "2024-07-08T15:20:00.212Z"
            },
            "references": [
                {
                    "url": "https://github.com/renesas-rcar/arm-trusted-firmware/commit/c9fb3558410032d2660c7f3b7d4b87dec09fe2f2"
                },
                {
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://asrg.io/security-advisories/cve-2024-6564/"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Buffer overflow in Rensas RCAR",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "renesas",
                        "product": "rcar_gen3_v2.5",
                        "cpes": [
                            "cpe:2.3:a:renesas:rcar_gen3_v2.5:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "c2f286820471ed276c57e603762bd831873e5a17",
                                "status": "affected",
                                "lessThanOrEqual": "c9fb3558410032d2660c7f3b7d4b87dec09fe2f2",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-09T15:14:13.300448Z",
                                "id": "CVE-2024-6564",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-09T15:17:54.446Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T21:41:03.762Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://github.com/renesas-rcar/arm-trusted-firmware/commit/c9fb3558410032d2660c7f3b7d4b87dec09fe2f2",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "tags": [
                            "third-party-advisory",
                            "x_transferred"
                        ],
                        "url": "https://asrg.io/security-advisories/cve-2024-6564/"
                    }
                ]
            }
        ]
    }
}