Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-46152

8.2 · HIGH
Published Nov 29, 2022 trustedfirmware CWE-129 EPSS 0.47% (39th pctl)

Overview

CVE-2022-46152 is a high-severity vulnerability affecting trustedfirmware op-tee. It was published on November 29, 2022 and has a CVSS 3.1 base score of 8.2 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

OP-TEE Trusted OS is the secure side implementation of OP-TEE project, a Trusted Execution Environment. Versions prior to 3.19.0, contain an Improper Validation of Array Index vulnerability. The function `cleanup_shm_refs()` is called by both `entry_invoke_command()` and `entry_open_session()`. The commands `OPTEE_MSG_CMD_OPEN_SESSION` and `OPTEE_MSG_CMD_INVOKE_COMMAND` can be executed from the normal world via an OP-TEE SMC. This function is not validating the `num_params` argument, which is only limited to `OPTEE_MSG_MAX_NUM_PARAMS` (127) in the function `get_cmd_buffer()`. Therefore, an attacker in the normal world can craft an SMC call that will cause out-of-bounds reading in `cleanup_shm_refs` and potentially freeing of fake-objects in the function `mobj_put()`. A normal-world attacker with permission to execute SMC instructions may exploit this flaw. Maintainers believe this problem permits local privilege escalation from the normal world to the secure world. Version 3.19.0 conta

Remediation

Check the references section for vendor advisories and patches from trustedfirmware. Update op-tee to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
trustedfirmware op-tee >= 0, < 3.19.0 Affected

Frequently Asked Questions

What is CVE-2022-46152?

CVE-2022-46152 is a high-severity vulnerability affecting trustedfirmware op-tee. It was published on November 29, 2022 and has a CVSS 3.1 base score of 8.2 (HIGH).

How severe is CVE-2022-46152?

This vulnerability has a CVSS 3.1 base score of 8.2, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-46152?

Check the references section for vendor advisories and patches from trustedfirmware. Update op-tee to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-46152?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-46152 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.