-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

=====================================================================
                   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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBYKPtvdzjgjWX9erEAQj+lhAApV4v99MI/7vwMViqRwp4VHCQO07LMCTE
cA5JYgE0Q7BXZyaUmUhMJfsUIjgjAvBnu5BKrXrvMWMEAeh853zpQDF1lJfgC53g
DPdAzwHZQBs1Ifkrt23dN+R+p3ZYuSBM+BKZ/zfCKMFyPLVHTVhWVo+1ZGK+rCuf
MCRKzGcC+nq2U1bibmL/V9CT3T87RrCk5KSxe1SXLpJ0tW/aQpMwMtVH20oNiG7K
vvgGlorlKZ+vLYwFkpxWvqKLlBJZIBEN85SBZzd6t7wvq1AfZDNMnCsKlkn5jO59
c39zx4BZfFop+tfLrFzKuTcudW+LuyUF9hln1RgTFNORYlDU9j5t8mEFVQMnQEh0
DtbqyCbajFB84xAuxrot7SDUvxTQxBkfesYBGEChFEcd9PsCG140N/u2jT199PKn
aEasNj3tI2WqN8Eo1ybc1Jcf6052ZHgEKGGAlJrT/FZOgZEvMA6v3kBSH3pG7NZL
j3qFOrGmwcPQCRZCq0F8fd7chJrLnbFzYOgU8ErNDMEOQw4qiwybG+YnPOcqa+XA
v0YPDpgx/0ZKTwtL/RBsUcjA6maNCrNxPvUtsYM7obEMzYsVL3vNn8vSckYN8Mk3
o0Pj3z/2it0geauntUsEImFHVMXzzsrC/IooF3Fr8MOPkH940F9GsVnVStJWuc3p
1d3jwM/y0Xg=
=3EWd
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/rhsa-announce