{"id":"CVE-2024-2212","summary":"Integer wraparounds, under-allocations, and heap buffer overflows in Eclipse ThreadX xQueueCreate() and xQueueCreateSet()","details":"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.","aliases":["GHSA-v9jj-7qjg-h6g6"],"modified":"2026-08-12T15:16:59.335940Z","published":"2024-03-26T15:58:27.486Z","database_specific":{"cna_assigner":"eclipse","cwe_ids":["CWE-122","CWE-190"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2212.json"},"references":[{"type":"WEB","url":"http://seclists.org/fulldisclosure/2024/May/35"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/05/28/1"},{"type":"WEB","url":"https://github.com/eclipse-threadx/threadx/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2212.json"},{"type":"ADVISORY","url":"https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-v9jj-7qjg-h6g6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2212"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eclipse-threadx/threadx","events":[{"introduced":"0"},{"fixed":"39f3c86c61ec478720bac9fca8f17ccedb8f052b"}],"database_specific":{"cpe":"cpe:2.3:a:eclipse:threadx:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.4.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["v6.3.0_rel","v6.2.1_rel","v6.2.0_rel","v6.1.12_rel","v6.1.11_rel","v6.1.10_rel","v6.1.9_rel","v6.1.8_rel","v6.1.7_rel","v6.1.6_rel","v6.1.5_rel","v6.1.3_rel","v6.1.2_rel","v6.1.1_rel","v6.1_rel","v6.0.2_rel","v6.0.1_rel","v6.0_rel"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-2212.json","vanir_signatures_modified":"2026-08-12T15:16:59Z","vanir_signatures":[{"target":{"file":"ports/xtensa/xcc/src/tx_clib_lock.c","function":"_Mtxinit"},"deprecated":false,"digest":{"function_hash":"21440705155404283821141681700921315961","length":272},"id":"CVE-2024-2212-1936b16f","signature_type":"Function","signature_version":"v1","source":"https://github.com/eclipse-threadx/threadx/commit/39f3c86c61ec478720bac9fca8f17ccedb8f052b"},{"target":{"file":"ports/xtensa/xcc/src/tx_clib_lock.c"},"deprecated":false,"digest":{"line_hashes":["321615530020277052163727575189001966430","76076730028992049536459261922763312508","161729058754765427883402847621987807659","248756517319654798557447821379620083935"],"threshold":0.9},"id":"CVE-2024-2212-fa92f5c0","signature_type":"Line","signature_version":"v1","source":"https://github.com/eclipse-threadx/threadx/commit/39f3c86c61ec478720bac9fca8f17ccedb8f052b"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L"}]}