{"id":"CVE-2024-2214","summary":"Missing array size check in _Mtxinit() in the Xtensa port","details":"In Eclipse ThreadX before version 6.4.0, the _Mtxinit() function in the \nXtensa port was missing an array size check causing a memory overwrite. \nThe affected file was ports/xtensa/xcc/src/tx_clib_lock.c","aliases":["GHSA-vmp6-qhp9-r66x"],"modified":"2026-08-12T15:14:58.974904Z","published":"2024-03-26T15:48:36.304Z","database_specific":{"cna_assigner":"eclipse","cwe_ids":["CWE-129"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2214.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-2214.json"},{"type":"ADVISORY","url":"https://github.com/eclipse-threadx/threadx/security/advisories/GHSA-vmp6-qhp9-r66x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2214"}],"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-2214.json","vanir_signatures_modified":"2026-08-12T15:14:58Z","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"21440705155404283821141681700921315961","length":272},"id":"CVE-2024-2214-1936b16f","signature_type":"Function","signature_version":"v1","source":"https://github.com/eclipse-threadx/threadx/commit/39f3c86c61ec478720bac9fca8f17ccedb8f052b","target":{"function":"_Mtxinit","file":"ports/xtensa/xcc/src/tx_clib_lock.c"}},{"id":"CVE-2024-2214-fa92f5c0","signature_type":"Line","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}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}