CVE-2018-16426

LOW

Description

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.

References

https://access.redhat.com/errata/RHSA-2019:2154

https://github.com/OpenSC/OpenSC/commit/03628449b75a93787eb2359412a3980365dda49b#diff-f8c0128e14031ed9307d47f10f601b54

https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1

https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html

https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Details

Source: MITRE

Published: 2018-09-04

Updated: 2019-10-03

Type: CWE-674

Risk Information

CVSS v2.0

Base Score: 2.1

Vector: AV:L/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3.0

Base Score: 4.3

Vector: CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 0.7

Severity: MEDIUM