Use After Free Affecting opensc-debuginfo package, versions <0:0.19.0-5.amzn2.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.66% (51st 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-AMZN2-OPENSCDEBUGINFO-5912482
  • published21 Sept 2023
  • disclosed29 Apr 2020

Introduced: 29 Apr 2020

CVE-2019-20792  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 opensc-debuginfo to version 0:0.19.0-5.amzn2.0.1 or higher.
This issue was patched in ALAS2-2023-2262.

NVD Description

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

OpenSC before 0.20.0 has a double free in coolkey_free_private_data because coolkey_add_object in libopensc/card-coolkey.c lacks a uniqueness check.

CVSS Base Scores

version 3.1