{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "cveId": "CVE-2024-31225",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-03-29T14:16:31.902Z",
        "datePublished": "2024-05-01T06:13:58.610Z",
        "dateUpdated": "2024-08-02T01:46:04.977Z"
    },
    "containers": {
        "cna": {
            "title": "Lack of size check and buffer overflow in RIOT",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-120",
                            "lang": "en",
                            "description": "CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.4,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "NONE",
                        "scope": "CHANGED",
                        "userInteraction": "REQUIRED",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-2572-7q7c-3965",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-2572-7q7c-3965"
                },
                {
                    "name": "https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/cord/lc/cord_lc.c#L218",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/cord/lc/cord_lc.c#L218"
                },
                {
                    "url": "http://www.openwall.com/lists/oss-security/2024/05/07/3"
                },
                {
                    "url": "http://seclists.org/fulldisclosure/2024/May/7"
                }
            ],
            "affected": [
                {
                    "vendor": "RIOT-OS",
                    "product": "RIOT",
                    "versions": [
                        {
                            "version": "<= 2023.10",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-05-01T06:13:58.610Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit, 16-bit and 32-bit microcontrollers. The `_on_rd_init()` function does not implement a size check before copying data to the `_result_buf` static buffer. If an attacker can craft a long enough payload, they could cause a buffer overflow. If the unchecked input above is attacker-controlled and crosses a security boundary, the impact of the buffer overflow vulnerability could range from denial of service to arbitrary code execution. This issue has yet to be patched. Users are advised to add manual bounds checking."
                }
            ],
            "source": {
                "advisory": "GHSA-2572-7q7c-3965",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2024-31225",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-05-01T15:27:33.290857Z"
                            }
                        }
                    }
                ],
                "affected": [
                    {
                        "cpes": [
                            "cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*"
                        ],
                        "vendor": "riot-os",
                        "product": "riot",
                        "versions": [
                            {
                                "status": "affected",
                                "version": "*"
                            }
                        ],
                        "defaultStatus": "unknown"
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:37:26.130Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T01:46:04.977Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-2572-7q7c-3965",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-2572-7q7c-3965"
                    },
                    {
                        "name": "https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/cord/lc/cord_lc.c#L218",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/RIOT-OS/RIOT/blob/master/sys/net/application_layer/cord/lc/cord_lc.c#L218"
                    },
                    {
                        "url": "http://www.openwall.com/lists/oss-security/2024/05/07/3",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://seclists.org/fulldisclosure/2024/May/7",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    },
    "dataVersion": "5.1"
}