{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-2905",
        "assignerOrgId": "26969f82-7e87-44d8-9cb5-f6fb926ddd43",
        "state": "PUBLISHED",
        "assignerShortName": "AHA",
        "dateReserved": "2023-05-26T00:46:11.667Z",
        "datePublished": "2023-08-09T04:46:14.972Z",
        "dateUpdated": "2024-10-10T14:56:29.619Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Mongoose",
                    "vendor": "Cesanta",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "7.10"
                        },
                        {
                            "status": "unaffected",
                            "version": "7.11"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "zenofex"
                },
                {
                    "lang": "en",
                    "type": "finder",
                    "user": "00000000-0000-4000-9000-000000000000",
                    "value": "WanderingGlitch"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<span style=\"background-color: rgb(255, 255, 255);\">Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH&nbsp;</span><span style=\"background-color: rgb(255, 255, 255);\">parsed message with a variable length header, Cesanta Mongoose, an&nbsp;</span><span style=\"background-color: rgb(255, 255, 255);\">embeddable web server, version 7.10 is </span><span style=\"background-color: rgb(255, 255, 255);\">susceptible to a heap-based buffer overflow vulnerability in the default configuration. </span><span style=\"background-color: rgb(255, 255, 255);\">Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.</span><br>"
                        }
                    ],
                    "value": "Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.\n"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-122",
                            "description": "CWE-122 Heap-based Buffer Overflow",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "26969f82-7e87-44d8-9cb5-f6fb926ddd43",
                "shortName": "AHA",
                "dateUpdated": "2023-08-09T04:46:14.972Z"
            },
            "references": [
                {
                    "tags": [
                        "third-party-advisory",
                        "technical-description",
                        "exploit"
                    ],
                    "url": "https://takeonme.org/cves/CVE-2023-2905.html"
                },
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/cesanta/mongoose/pull/2274"
                },
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://github.com/cesanta/mongoose/releases/tag/7.11"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Cesanta Mongoose MQTT Message Parsing Heap Overflow",
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T06:41:03.925Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "third-party-advisory",
                            "technical-description",
                            "exploit",
                            "x_transferred"
                        ],
                        "url": "https://takeonme.org/cves/CVE-2023-2905.html"
                    },
                    {
                        "tags": [
                            "patch",
                            "x_transferred"
                        ],
                        "url": "https://github.com/cesanta/mongoose/pull/2274"
                    },
                    {
                        "tags": [
                            "release-notes",
                            "x_transferred"
                        ],
                        "url": "https://github.com/cesanta/mongoose/releases/tag/7.11"
                    }
                ]
            },
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-10-10T14:56:20.113651Z",
                                "id": "CVE-2023-2905",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "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-10-10T14:56:29.619Z"
                }
            }
        ]
    }
}