Uncontrolled Recursion Affecting opensc package, versions <0.19.0-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE312-OPENSC-587885
  • published25 Sept 2018
  • disclosed4 Sept 2018

Introduced: 4 Sep 2018

CVE-2018-16426  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade Alpine:3.12 opensc to version 0.19.0-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by Alpine. See How to fix? for Alpine:3.12 relevant fixed versions and status.

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.