Heap-based Buffer Overflow Affecting opensc package, versions <0:0.24.0-1.amzn2023.0.4


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (15th 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-AMZN2023-OPENSC-8496079
  • published11 Dec 2024
  • disclosed10 Sept 2024

Introduced: 10 Sep 2024

CVE-2024-8443  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 opensc to version 0:0.24.0-1.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2024-775.

NVD Description

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

A heap-based buffer overflow vulnerability was found in the libopensc OpenPGP driver. A crafted USB device or smart card with malicious responses to the APDUs during the card enrollment process using the pkcs15-init tool may lead to out-of-bound rights, possibly resulting in arbitrary code execution.

CVSS Scores

version 3.1