{"api_version":"1","generated_at":"2026-04-22T21:38:50+00:00","cve":"CVE-2021-34431","urls":{"html":"https://cve.report/CVE-2021-34431","api":"https://cve.report/api/cve/CVE-2021-34431.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-34431","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-34431"},"summary":{"title":"CVE-2021-34431","description":"In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.","state":"PUBLIC","assigner":"security@eclipse.org","published_at":"2021-07-22 14:15:00","updated_at":"2021-08-03 17:49:00"},"problem_types":["CWE-401"],"metrics":[],"references":[{"url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=573191","name":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=573191","refsource":"CONFIRM","tags":[],"title":"573191 – (CVE-2021-34431) Possible DoS through Memory Leak in Mosquitto Broker","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-34431","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34431","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Thanks to Kathrin Kleinhammer of OTARIS Interactive Services GmbH for discovering and reporting this issue.","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"34431","vulnerable":"1","versionEndIncluding":"2.0.10","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"eclipse","cpe5":"mosquitto","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-34431","qid":"179469","title":"Debian Security Update for mosquitto (CVE-2021-34431)"},{"cve":"CVE-2021-34431","qid":"199931","title":"Ubuntu Security Notification for Mosquitto Vulnerabilities (USN-6492-1)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-34431","ASSIGNER":"security@eclipse.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"The Eclipse Foundation","product":{"product_data":[{"product_name":"Eclipse Mosquitto","version":{"version_data":[{"version_affected":">=","version_value":"1.6"},{"version_affected":"<=","version_value":"2.0.10"}]}}]}}]}},"credit":[{"lang":"eng","value":"Thanks to Kathrin Kleinhammer of OTARIS Interactive Services GmbH for discovering and reporting this issue."}],"description":{"description_data":[{"lang":"eng","value":"In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-401: Missing Release of Memory after Effective Lifetime"}]}]},"references":{"reference_data":[{"name":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=573191","refsource":"CONFIRM","url":"https://bugs.eclipse.org/bugs/show_bug.cgi?id=573191"}]}},"nvd":{"publishedDate":"2021-07-22 14:15:00","lastModifiedDate":"2021-08-03 17:49:00","problem_types":["CWE-401"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:eclipse:mosquitto:*:*:*:*:*:*:*:*","versionStartIncluding":"1.6","versionEndIncluding":"2.0.10","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"34431","Ordinal":"209890","Title":"CVE-2021-34431","CVE":"CVE-2021-34431","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"34431","Ordinal":"1","NoteData":"In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"34431","Ordinal":"2","NoteData":"2021-07-22","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"34431","Ordinal":"3","NoteData":"2021-07-22","Type":"Other","Title":"Modified"}]}}}