CVE Vulnerabilities

CVE-2018-16426

Uncontrolled Recursion

Published: Sep 04, 2018 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
2.1 LOW
AV:L/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
2.4 LOW
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Ubuntu
MEDIUM

Endless recursion when handling responses from an IAS-ECC card in iasecc_select_file in libopensc/card-iasecc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to hang or crash the opensc library using programs.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Opensc Opensc_project * 0.18.0 (including)
Red Hat Enterprise Linux 7 RedHat opensc-0:0.19.0-3.el7 *
Opensc Ubuntu bionic *
Opensc Ubuntu cosmic *
Opensc Ubuntu esm-apps/bionic *
Opensc Ubuntu esm-apps/xenial *
Opensc Ubuntu trusty *
Opensc Ubuntu xenial *

Potential Mitigations

References