Use After Free Affecting opensc package, versions <0:0.22.0-4.amzn2023.0.3


Severity

Recommended
0.0
low
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.94% (78th 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-6253600
  • published20 Feb 2024
  • disclosed18 Apr 2022

Introduced: 18 Apr 2022

CVE-2021-42779  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 opensc to version 0:0.22.0-4.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2024-534.

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 use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.

CVSS Base Scores

version 3.1