Out-of-bounds Read Affecting opensc/opensc package, versions [0.17.0,0.24.0-rc1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (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 Learn

Learn about Out-of-bounds Read vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENSCOPENSC-5931039
  • published5 Oct 2023
  • disclosed25 Sept 2023
  • creditUnknown

Introduced: 25 Sep 2023

CVE-2023-4535  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade opensc/opensc to version 0.24.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read via the MyEID driver when handling encryption using symmetric keys. An attacker can use a crafted USB device or a smart card to present the system with specially crafted responses to the APDUs and read data outside of the intended boundaries.

CVSS Base Scores

version 3.1