CVE Vulnerabilities

CVE-2019-20792

Double Free

Published: Apr 29, 2020 | Modified: May 26, 2020
CVSS 3.x
6.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
4.6 MEDIUM
AV:L/AC:L/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
6.4 MODERATE
CVSS:3.1/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Ubuntu
LOW

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.

Weakness

The product calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

Affected Software

Name Vendor Start Version End Version
Opensc Opensc_project * 0.20.0 (excluding)
Red Hat Enterprise Linux 8 RedHat opensc-0:0.20.0-2.el8 *
Opensc Ubuntu bionic *
Opensc Ubuntu eoan *
Opensc Ubuntu esm-apps/bionic *
Opensc Ubuntu trusty *
Opensc Ubuntu upstream *
Opensc Ubuntu xenial *

Potential Mitigations

References