PT-2019-6157 · Opensc+3 · Opensc+3

Dhiraj Mishra

·

Published

2019-01-22

·

Updated

2024-06-15

·

CVE-2019-6502

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions OpenSC version 0.19.0
Description The issue is related to a memory leak in the OpenSC library, specifically in the sc context create function in ctx.c. This leak occurs due to incorrect memory deallocation before the last reference is removed. Exploitation of this issue could allow a remote attacker to cause a denial of service. The memory leak is demonstrated by a call from eidenv.
Recommendations For OpenSC version 0.19.0, consider applying a patch or updating to a newer version that fixes the memory leak issue in the sc context create function. As a temporary workaround, consider restricting the use of the sc context create function to minimize the risk of exploitation.

Exploit

Fix

Memory Leak

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2019-2546
ALT-PU-2020-1884
ALT-PU-2020-2900
BDU:2022-00273
CVE-2019-6502
DLA-3463-1
MGASA-2020-0026
OPENSUSE-SU-2022_4196-1
OPENSUSE-SU-2024:11123-1
SUSE-SU-2020:3133-1
SUSE-SU-2020_3133-1
SUSE-SU-2022:1041-1
SUSE-SU-2022:4196-1
SUSE-SU-2022_4196-1

Affected Products

Alt Linux
Astra Linux
Opensc
Suse