Skip to content

Uninitialized cipher state

Moderate
jbech-linaro published GHSA-ccj5-qjx2-rm6w Jun 28, 2021

Package

OP-TEE

Affected versions

< 3.7.0

Patched versions

>= 3.7.0

Description

When calling syscall_cipher_init there were no check being done that the state coming from the TA has been initialized to a valid cipher state, this could trigger an assert that eventually code be a way to make an attack on TEE core.

Patches

optee_os.git

  • cryp: ensure that mode is cipher in syscall_cipher_init (28aa35f)

Workarounds

N/A

References

N/A

OP-TEE ID

OP-TEE-2019-0020

Reported by

Riscure

For more information

For more information regarding the security incident process in OP-TEE, please read the information that can be found when going to the "Security" page at https://www.trustedfirmware.org.

Severity

Moderate

CVE ID

No known CVE

Weaknesses

No CWEs