Bug 1782950 (CVE-2019-19480) - CVE-2019-19480 opensc: incorrect free operation in sc_pkcs15_decode_prkdf_entry in libopensc/pkcs15-prkey.c
Summary: CVE-2019-19480 opensc: incorrect free operation in sc_pkcs15_decode_prkdf_ent...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-19480
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1782951 1782952
Blocks: 1782953
TreeView+ depends on / blocked
 
Reported: 2019-12-12 17:04 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-01-16 13:58 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-16 13:58:33 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-12-12 17:04:35 UTC
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.

Reference:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18478

Upstream commit:
https://github.com/OpenSC/OpenSC/commit/6ce6152284c47ba9b1d4fe8ff9d2e6a3f5ee02c7

Comment 1 Guilherme de Almeida Suckevicz 2019-12-12 17:04:50 UTC
Created opensc tracking bugs for this issue:

Affects: epel-6 [bug 1782952]
Affects: fedora-all [bug 1782951]

Comment 4 Huzaifa S. Sidhpurwala 2020-01-16 13:58:36 UTC
Statement:

Please note that this issue was  was introduced with https://github.com/OpenSC/OpenSC/commit/630d6adf32cecaab0ee184618f56497bd50400fb and fixed with https://github.com/OpenSC/OpenSC/commit/6ce6152284c47ba9b1d4fe8ff9d2e6a3f5ee02c7, therefore no release versions of opensc are affected by this issue.


Note You need to log in before you can comment on or make changes to this bug.