Use After Free Affecting opensc package, versions <0:0.20.0-2.el8


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.66% (51st 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-3831127
  • published26 Jul 2021
  • disclosed4 Jan 2020

Introduced: 4 Jan 2020

CVE-2019-20792  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:8 opensc to version 0:0.20.0-2.el8 or higher.
This issue was patched in RHSA-2020:4483.

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.

OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in libopensc/card-coolkey.c lacks a uniqueness check.

CVSS Base Scores

version 3.1