{"id":"SUSE-SU-2022:1156-1","summary":"Security update for opensc","details":"This update for opensc fixes the following issues:\n\nSecurity issues fixed:\n\n- CVE-2021-42782: Stack buffer overflow issues in various places (bsc#1191957).\n- CVE-2021-42781: Fixed multiple heap buffer overflows in pkcs15-oberthur.c (bsc#1192000).\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\nNon-security issues fixed: \n\n- Fixes segmentation fault in 'pkcs11-tool.c'. (bsc#1114649)\n","modified":"2026-03-11T07:19:28.667420Z","published":"2022-04-12T07:55:14Z","related":["CVE-2021-42779","CVE-2021-42780","CVE-2021-42781","CVE-2021-42782"],"upstream":["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-20221156-1/"},{"type":"REPORT","url":"https://bugzilla.suse.com/1114649"},{"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-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 Module for Basesystem 15 SP3","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Linux Enterprise Micro 5.1","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Linux%20Enterprise%20Micro%205.1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"SUSE:Enterprise Storage 6","purl":"pkg:rpm/suse/opensc&distro=SUSE%20Enterprise%20Storage%206"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}},{"package":{"name":"opensc","ecosystem":"openSUSE:Leap 15.3","purl":"pkg:rpm/opensuse/opensc&distro=openSUSE%20Leap%2015.3"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.19.0-150100.3.16.1"}]}],"ecosystem_specific":{"binaries":[{"opensc":"0.19.0-150100.3.16.1","opensc-32bit":"0.19.0-150100.3.16.1"}]},"database_specific":{"source":"https://ftp.suse.com/pub/projects/security/osv/SUSE-SU-2022:1156-1.json"}}],"schema_version":"1.7.5"}