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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
OpenscOpensc_project*0.18.0 (including)
Red Hat Enterprise Linux 7RedHatopensc-0:0.19.0-3.el7*
OpenscUbuntubionic*
OpenscUbuntucosmic*
OpenscUbuntuesm-apps/bionic*
OpenscUbuntuesm-apps/xenial*
OpenscUbuntutrusty*
OpenscUbuntuxenial*

Potential Mitigations

References