Improper Input Validation Affecting op-tee/optee_os package, versions [,2.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.28% (68th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPTEEOPTEEOS-2366027
  • published26 Jan 2022
  • disclosed13 Feb 2017
  • creditUnknown

Introduced: 13 Feb 2017

CVE-2016-6129  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade op-tee/optee_os to version 2.2.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The rsa_verify_hash_ex function in rsa_verify_hash.c in LibTomCrypt, as used in OP-TEE before 2.2.0, does not validate that the message length is equal to the ASN.1 encoded data length, which makes it easier for remote attackers to forge RSA signatures or public certificates by leveraging a Bleichenbacher signature forgery attack.

CVSS Scores

version 3.1