{"id":"SUSE-SU-2022:1041-1","summary":"Security update for opensc","details":"This update for opensc fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2021-42780: Fixed use after return in insert_pin() (bsc#1192005).\n- CVE-2021-42779: Fixed use after free in sc_file_valid() (bsc#1191992).\n- CVE-2021-42781: Fixed multiple heap buffer overflows in pkcs15-oberthur.c (bsc#1192000).\n- CVE-2021-42782: Stack buffer overflow issues in various places (bsc#1191957).\n- CVE-2019-6502: Fixed a memory leak in sc_context_create() (bsc#1122756).\n- CVE-2020-26570: Fixed a heap based buffer overflow in sc_oberthur_read_file (bsc#1177364).\n- CVE-2020-26572: Prevent out of bounds write (bsc#1177378)\n- CVE-2020-26571: gemsafe GPK smart card software driver stack-based buffer overflow (bsc#1177380)\n- CVE-2019-15946: out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry (bsc#1149747)\n- CVE-2019-19479: incorrect read operation during parsing of a SETCOS file attribute (bsc#1158256)\n- CVE-2019-15945: Fixed an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string (bsc#1149746).\n- CVE-2019-19481: Fixed an improper handling of buffer limits for CAC certificates (bsc#1158305).\n- CVE-2019-20792: Fixed a double free in coolkey_free_private_data (bsc#1170809). \n\nNon-security issues fixed:\n\n- Fixes segmentation fault in 'pkcs11-tool.c'. (bsc#1114649)\n","modified":"2026-02-04T03:02:40.711283Z","published":"2022-03-30T13:25:11Z","related":["CVE-2019-15945","CVE-2019-15946","CVE-2019-19479","CVE-2019-19481","CVE-2019-20792","CVE-2019-6502","CVE-2020-26570","CVE-2020-26571","CVE-2020-26572","CVE-2021-42779","CVE-2021-42780","CVE-2021-42781","CVE-2021-42782"],"upstream":["CVE-2019-15945","CVE-2019-15946","CVE-2019-19479","CVE-2019-19481","CVE-2019-20792","CVE-2019-6502","CVE-2020-26570","CVE-2020-26571","CVE-2020-26572","CVE-2021-42779","CVE-2021-42780","CVE-2021-42781","CVE-2021-42782"],"references":[{"type":"ADVISORY","url":"https://www.suse.com/support/update/announcement/2022/suse-su-20221041-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1114649"},{"type":"REPORT","url":"https://bugzilla.suse.com/1122756"},{"type":"REPORT","url":"https://bugzilla.suse.com/1149746"},{"type":"REPORT","url":"https://bugzilla.suse.com/1149747"},{"type":"REPORT","url":"https://bugzilla.suse.com/1158256"},{"type":"REPORT","url":"https://bugzilla.suse.com/1158305"},{"type":"REPORT","url":"https://bugzilla.suse.com/1170809"},{"type":"REPORT","url":"https://bugzilla.suse.com/1177364"},{"type":"REPORT","url":"https://bugzilla.suse.com/1177378"},{"type":"REPORT","url":"https://bugzilla.suse.com/1177380"},{"type":"REPORT","url":"https://bugzilla.suse.com/1191957"},{"type":"REPORT","url":"https://bugzilla.suse.com/1191992"},{"type":"REPORT","url":"https://bugzilla.suse.com/1192000"},{"type":"REPORT","url":"https://bugzilla.suse.com/1192005"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-15945"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-15946"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-19479"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-19481"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-20792"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2019-6502"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-26570"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-26571"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2020-26572"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-42779"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-42780"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-42781"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2021-42782"}],"affected":[{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-ESPOS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.0-150000.3.23.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.18.0-150000.3.23.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1041-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15-LTSS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.0-150000.3.23.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.18.0-150000.3.23.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1041-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Server 15-LTSS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.0-150000.3.23.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.18.0-150000.3.23.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1041-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.0-150000.3.23.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.18.0-150000.3.23.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1041-1.json"}}],"schema_version":"1.7.3"}