Double Free Affecting opensc package, versions <0.19.0-3.7.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.13% (49th 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-SLES152-OPENSC-2683211
  • published14 Apr 2022
  • disclosed13 Apr 2021

Introduced: 13 Apr 2021

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

How to fix?

Upgrade SLES:15.2 opensc to version 0.19.0-3.7.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by SLES. See How to fix? for SLES:15.2 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 Scores

version 3.1