CVE Vulnerabilities

CVE-2019-20792

Double Free

Published: Apr 29, 2020 | Modified: Nov 21, 2024
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
root.io logo minimus.io logo echo.ai logo

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.

Affected Software

NameVendorStart VersionEnd Version
OpenscOpensc_project*0.20.0 (excluding)
Red Hat Enterprise Linux 8RedHatopensc-0:0.20.0-2.el8*
OpenscUbuntubionic*
OpenscUbuntueoan*
OpenscUbuntuesm-apps/bionic*
OpenscUbuntutrusty*
OpenscUbuntuupstream*
OpenscUbuntuxenial*

Potential Mitigations

References