RedHat: RHSA-2021-1600:01 Moderate: opensc security, bug fix,
Summary
The OpenSC set of libraries and utilities provides support for working with
smart cards. OpenSC focuses on cards that support cryptographic operations
and enables their use for authentication, mail encryption, or digital
signatures.
Security Fix(es):
* opensc: heap-based buffer overflow in sc_oberthur_read_file
(CVE-2020-26570)
* opensc: stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init
(CVE-2020-26571)
* opensc: stack-based buffer overflow in tcos_decipher (CVE-2020-26572)
For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the Red Hat
Enterprise Linux 8.4 Release Notes linked from the References section.
Summary
Solution
For details on how to apply this update, which includes the changes
described in this advisory, refer to:
https://access.redhat.com/articles/11258
References
https://access.redhat.com/security/cve/CVE-2020-26570 https://access.redhat.com/security/cve/CVE-2020-26571 https://access.redhat.com/security/cve/CVE-2020-26572 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/
Package List
Red Hat Enterprise Linux BaseOS (v. 8):
Source:
opensc-0.20.0-4.el8.src.rpm
aarch64:
opensc-0.20.0-4.el8.aarch64.rpm
opensc-debuginfo-0.20.0-4.el8.aarch64.rpm
opensc-debugsource-0.20.0-4.el8.aarch64.rpm
ppc64le:
opensc-0.20.0-4.el8.ppc64le.rpm
opensc-debuginfo-0.20.0-4.el8.ppc64le.rpm
opensc-debugsource-0.20.0-4.el8.ppc64le.rpm
s390x:
opensc-0.20.0-4.el8.s390x.rpm
opensc-debuginfo-0.20.0-4.el8.s390x.rpm
opensc-debugsource-0.20.0-4.el8.s390x.rpm
x86_64:
opensc-0.20.0-4.el8.i686.rpm
opensc-0.20.0-4.el8.x86_64.rpm
opensc-debuginfo-0.20.0-4.el8.i686.rpm
opensc-debuginfo-0.20.0-4.el8.x86_64.rpm
opensc-debugsource-0.20.0-4.el8.i686.rpm
opensc-debugsource-0.20.0-4.el8.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/
Topic
An update for opensc is now available for Red Hat Enterprise Linux 8.Red Hat Product Security has rated this update as having a security impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.
Topic
Relevant Releases Architectures
Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64
Bugs Fixed
1830901 - pkcs11-tool --login --change-pin gives error: PKCS11 function C_SetPIN failed: rv = CKR_USER_NOT_LOGGED_IN (0x101)
1877973 - smart card pkcs11 token field with additional padding
1885947 - CVE-2020-26570 opensc: heap-based buffer overflow in sc_oberthur_read_file
1885950 - CVE-2020-26571 opensc: stack-based buffer overflow in sc_pkcs15emu_gemsafeGPK_init
1885954 - CVE-2020-26572 opensc: stack-based buffer overflow in tcos_decipher
1892810 - Enable file caching by default
1895401 - opensc invokes calloc with nmemb*size=0