A double free when handling responses from a smartcard in sc_file_set_sec_attr in libopensc/sc.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
The product calls free() twice on the same memory address.
Link | Tags |
---|---|
https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-db0cd89ff279ad8c7b3bb780cdf2770a | third party advisory patch |
https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1 | patch third party advisory release notes |
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/ | third party advisory exploit |
https://access.redhat.com/errata/RHSA-2019:2154 | vendor advisory |
https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html | mailing list |