Out-of-bounds Write Affecting opensc/opensc package, versions [0,0.21.0-rc1)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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-OPENSCOPENSC-2364278
  • published26 Jan 2022
  • disclosed6 Oct 2020
  • creditUnknown

Introduced: 6 Oct 2020

CVE-2020-26572  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade opensc/opensc to version 0.21.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. The TCOS smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in tcos_decipher.

References

CVSS Base Scores

version 3.1