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
| Vector | AV: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
Affected Products
Alt Linux
Astra Linux
Opensc
Suse