{"id":"CVE-2024-2212","state":"PUBLISHED","title":"Integer wraparounds, under-allocations, and heap buffer overflows in Eclipse ThreadX xQueueCreate() and xQueueCreateSet()","description":"In Eclipse ThreadX before 6.4.0,  xQueueCreate() and xQueueCreateSet() \nfunctions from the FreeRTOS compatibility API \n(utility/rtos_compatibility_layers/FreeRTOS/tx_freertos.c) were missing \nparameter checks. This could lead to integer wraparound, \nunder-allocations and heap buffer overflows.","publishedAt":"2024-03-26T15:58:27.486Z","updatedAt":"2025-02-13T17:33:30.356Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","source":"eclipse"},"assigner":"eclipse","products":["Eclipse Foundation ThreadX"],"affected":[{"vendor":"Eclipse Foundation","product":"ThreadX","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.4.0","versionType":"semver"}],"repo":"https://github.com/eclipse-threadx/threadx/"}],"references":["https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-v9jj-7qjg-h6g6","http://seclists.org/fulldisclosure/2024/May/35","http://www.openwall.com/lists/oss-security/2024/05/28/1"],"weaknesses":["CWE-122","CWE-190"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/2xxx/CVE-2024-2212.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2212","state":"PUBLISHED","datePublished":"2024-03-26T15:58:27.486Z","dateUpdated":"2025-02-13T17:33:30.356Z","assignerShortName":"eclipse","assignerOrgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateReserved":"2024-03-06T08:05:57.446Z"},"containers":{"cna":{"title":"Integer wraparounds, under-allocations, and heap buffer overflows in Eclipse ThreadX xQueueCreate() and xQueueCreateSet()","descriptions":[{"lang":"en","value":"In Eclipse ThreadX before 6.4.0,  xQueueCreate() and xQueueCreateSet() \nfunctions from the FreeRTOS compatibility API \n(utility/rtos_compatibility_layers/FreeRTOS/tx_freertos.c) were missing \nparameter checks. This could lead to integer wraparound, \nunder-allocations and heap buffer overflows."}],"affected":[{"vendor":"Eclipse Foundation","product":"ThreadX","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.4.0","versionType":"semver"}],"repo":"https://github.com/eclipse-threadx/threadx/"}],"references":[{"url":"https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-v9jj-7qjg-h6g6"},{"url":"http://seclists.org/fulldisclosure/2024/May/35"},{"url":"http://www.openwall.com/lists/oss-security/2024/05/28/1"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-122","description":"CWE-122 Heap-based Buffer Overflow","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-190","description":"CWE-190 Integer Overflow or Wraparound","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"eclipse","orgId":"e51fbebd-6053-4e49-959f-1b94eeb69a2c","dateUpdated":"2024-06-10T17:13:00.990Z"},"credits":[{"lang":"en","type":"finder","value":"Marco Ivaldi"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"eclipse_foundation","product":"threadx","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"6.4.0","versionType":"semver"}],"cpes":["cpe:2.3:a:eclipse_foundation:threadx:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-01T18:19:47.657038Z","id":"CVE-2024-2212","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-01T18:34:55.637Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-v9jj-7qjg-h6g6","tags":["x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2024/May/35","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/05/28/1","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T19:03:39.159Z"}}]}}}