Operation on a Resource after Expiration or Release Affecting opensc/opensc package, versions [,0.20.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (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-UNMANAGED-OPENSCOPENSC-2364270
  • published26 Jan 2022
  • disclosed1 Dec 2019
  • creditUnknown

Introduced: 1 Dec 2019

CVE-2019-19480  (opens in a new tab)
CWE-672  (opens in a new tab)

How to fix?

Upgrade opensc/opensc to version 0.20.0 or higher.

Overview

Affected versions of this package are vulnerable to Operation on a Resource after Expiration or Release. An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/pkcs15-prkey.c has an incorrect free operation in sc_pkcs15_decode_prkdf_entry.

References

CVSS Base Scores

version 3.1