Stack-based Buffer Overflow Affecting opensc package, versions <0:0.20.0-4.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (5th 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-RHEL8-OPENSC-3976163
  • published26 Jul 2021
  • disclosed6 Oct 2020

Introduced: 6 Oct 2020

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

How to fix?

Upgrade RHEL:8 opensc to version 0:0.20.0-4.el8 or higher.
This issue was patched in RHSA-2021:1600.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

The gemsafe GPK smart card software driver in OpenSC before 0.21.0-rc1 has a stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init.

CVSS Scores

version 3.1