{"id":"CVE-2022-25334","published":"2023-10-19T09:36:09Z","modified":"2024-08-03T04:36:06Z","title":"Stack overflow on SK_LOAD signature length field in Texas Instruments OMAP L138","vendor":"Texas Instruments","product":"OMAP","tier":"tail","description":{"text":"The Texas Instruments OMAP L138 (secure variants) trusted execution environment (TEE) lacks a bounds check on the signature size field in the SK_LOAD module loading routine, present in mask ROM. A module with a sufficiently large signature field causes a stack overflow, affecting secure kernel data pages. This can be leveraged to obtain arbitrary code execution in secure supervisor context by overwriting a SHA256 function pointer in the secure kernel data area when loading a forged, unsigned SK_LOAD module encrypted with the CEK (obtainable through CVE-2022-25332). This constitutes a full break of the TEE security architecture.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:F/RL:U/RC:C/CR:H/IR:H/AR:H/MAV:L/MAC:L/MPR:H/MUI:N/MS:C/MC:H/MI:H/MA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00206,"percentile":0.10572,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://tetraburst.com/","tags":["related"]}],"priority":{"score":7.9,"factors":[{"name":"EPSS percentile","points":2.11},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"texas-instruments","affectedVersions":[{"vendor":"Texas Instruments","product":"OMAP","versions":["L138"]}],"euvd":{"id":"EUVD-2022-30013","exploited":false,"provenance":"source"}}