Red Hat 8875 Published by

An opensc security, bug fix, and enhancement update has been released for Red Hat Enterprise Linux 8.



RHSA-2021:1600-01: Moderate: opensc security, bug fix, and enhancement update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: opensc security, bug fix, and enhancement update
Advisory ID: RHSA-2021:1600-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2021:1600
Issue date: 2021-05-18
CVE Names: CVE-2020-26570 CVE-2020-26571 CVE-2020-26572
=====================================================================

1. Summary:

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 impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux BaseOS (v. 8) - aarch64, ppc64le, s390x, x86_64

3. Description:

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.

4. 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

5. Bugs fixed (  https://bugzilla.redhat.com/):

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

6. 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/

7. 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/

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2021 Red Hat, Inc.