Double Free Affecting opensc/opensc package, versions [,0.20.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.13% (50th 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 Learn

Learn about Double Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENSCOPENSC-2364274
  • published26 Jan 2022
  • disclosed29 Apr 2020
  • creditUnknown

Introduced: 29 Apr 2020

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

How to fix?

Upgrade opensc/opensc to version 0.20.0 or higher.

Overview

Affected versions of this package are vulnerable to Double Free. 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