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

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

Synopsis:          Moderate: opensc security, bug fix, and enhancement update
Advisory ID:       RHSA-2019:2154-01
Product:           Red Hat Enterprise Linux
Advisory URL:      https://access.redhat.com/errata/RHSA-2019:2154
Issue date:        2019-08-06
CVE Names:         CVE-2018-16391 CVE-2018-16392 CVE-2018-16393 
                   CVE-2018-16418 CVE-2018-16419 CVE-2018-16420 
                   CVE-2018-16421 CVE-2018-16422 CVE-2018-16423 
                   CVE-2018-16426 CVE-2018-16427 
====================================================================
1. Summary:

An update for opensc is now available for Red Hat Enterprise Linux 7.

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 Client (v. 7) - x86_64
Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64
Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, x86_64
Red Hat Enterprise Linux Workstation (v. 7) - 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.

The following packages have been upgraded to a later upstream version:
opensc (0.19.0). (BZ#1656791)

Security Fix(es):

* opensc: Buffer overflows handling responses from Muscle Cards in
card-muscle.c:muscle_list_files() (CVE-2018-16391)

* opensc: Buffer overflows handling responses from TCOS Cards in
card-tcos.c:tcos_select_file() (CVE-2018-16392)

* opensc: Buffer overflows handling responses from Gemsafe V1 Smartcards in
pkcs15-gemsafeV1.c:gemsafe_get_cert_len() (CVE-2018-16393)

* opensc: Buffer overflow handling string concatention in
tools/util.c:util_acl_to_str() (CVE-2018-16418)

* opensc: Buffer overflow handling responses from Cryptoflex cards in
cryptoflex-tool.c:read_public_key() (CVE-2018-16419)

* opensc: Buffer overflows handling responses from ePass 2003 Cards in
card-epass2003.c:decrypt_response() (CVE-2018-16420)

* opensc: Buffer overflows handling responses from CAC Cards in
card-cac.c:cac_get_serial_nr_from_CUID() (CVE-2018-16421)

* opensc: Buffer overflow handling responses from esteid cards in
pkcs15-esteid.c:sc_pkcs15emu_esteid_init() (CVE-2018-16422)

* opensc: Double free handling responses from smartcards in
libopensc/sc.c:sc_file_set_sec_attr() (CVE-2018-16423)

* opensc: Out of bounds reads handling responses from smartcards
(CVE-2018-16427)

* opensc: Infinite recusrion handling responses from IAS-ECC cards in
card-iasecc.c:iasecc_select_file() (CVE-2018-16426)

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 7.7 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/):

1627998 - CVE-2018-16391 opensc: Buffer overflows handling responses from Muscle Cards in card-muscle.c:muscle_list_files()
1628002 - CVE-2018-16392 opensc: Buffer overflows handling responses from TCOS Cards in card-tcos.c:tcos_select_file()
1628006 - CVE-2018-16393 opensc: Buffer overflows handling responses from Gemsafe V1 Smartcards in pkcs15-gemsafeV1.c:gemsafe_get_cert_len()
1628010 - CVE-2018-16418 opensc: Buffer overflow handling string concatention in tools/util.c:util_acl_to_str()
1628013 - CVE-2018-16419 opensc: Buffer overflow handling responses from Cryptoflex cards in cryptoflex-tool.c:read_public_key()
1628016 - CVE-2018-16422 opensc: Buffer overflow handling responses from esteid cards in pkcs15-esteid.c:sc_pkcs15emu_esteid_init()
1628020 - CVE-2018-16423 opensc: Double free handling responses from smartcards in libopensc/sc.c:sc_file_set_sec_attr()
1628026 - CVE-2018-16420 opensc: Buffer overflows handling responses from ePass 2003 Cards in card-epass2003.c:decrypt_response()
1628034 - CVE-2018-16421 opensc: Buffer overflows handling responses from CAC Cards in card-cac.c:cac_get_serial_nr_from_CUID()
1628044 - CVE-2018-16426 opensc: Infinite recusrion handling responses from IAS-ECC cards in card-iasecc.c:iasecc_select_file()
1628052 - CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards
1656791 - Rebase to latest OpenSC 0.19.0
1672898 - CKR_KEY_TYPE_INCONSISTENT while doing ssh using sssd smart card

6. Package List:

Red Hat Enterprise Linux Client (v. 7):

Source:
opensc-0.19.0-3.el7.src.rpm

x86_64:
opensc-0.19.0-3.el7.i686.rpm
opensc-0.19.0-3.el7.x86_64.rpm
opensc-debuginfo-0.19.0-3.el7.i686.rpm
opensc-debuginfo-0.19.0-3.el7.x86_64.rpm

Red Hat Enterprise Linux ComputeNode Optional (v. 7):

Source:
opensc-0.19.0-3.el7.src.rpm

x86_64:
opensc-0.19.0-3.el7.i686.rpm
opensc-0.19.0-3.el7.x86_64.rpm
opensc-debuginfo-0.19.0-3.el7.i686.rpm
opensc-debuginfo-0.19.0-3.el7.x86_64.rpm

Red Hat Enterprise Linux Server (v. 7):

Source:
opensc-0.19.0-3.el7.src.rpm

ppc64:
opensc-0.19.0-3.el7.ppc.rpm
opensc-0.19.0-3.el7.ppc64.rpm
opensc-debuginfo-0.19.0-3.el7.ppc.rpm
opensc-debuginfo-0.19.0-3.el7.ppc64.rpm

ppc64le:
opensc-0.19.0-3.el7.ppc64le.rpm
opensc-debuginfo-0.19.0-3.el7.ppc64le.rpm

x86_64:
opensc-0.19.0-3.el7.i686.rpm
opensc-0.19.0-3.el7.x86_64.rpm
opensc-debuginfo-0.19.0-3.el7.i686.rpm
opensc-debuginfo-0.19.0-3.el7.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 7):

Source:
opensc-0.19.0-3.el7.src.rpm

x86_64:
opensc-0.19.0-3.el7.i686.rpm
opensc-0.19.0-3.el7.x86_64.rpm
opensc-debuginfo-0.19.0-3.el7.i686.rpm
opensc-debuginfo-0.19.0-3.el7.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-2018-16391
https://access.redhat.com/security/cve/CVE-2018-16392
https://access.redhat.com/security/cve/CVE-2018-16393
https://access.redhat.com/security/cve/CVE-2018-16418
https://access.redhat.com/security/cve/CVE-2018-16419
https://access.redhat.com/security/cve/CVE-2018-16420
https://access.redhat.com/security/cve/CVE-2018-16421
https://access.redhat.com/security/cve/CVE-2018-16422
https://access.redhat.com/security/cve/CVE-2018-16423
https://access.redhat.com/security/cve/CVE-2018-16426
https://access.redhat.com/security/cve/CVE-2018-16427
https://access.redhat.com/security/updates/classification/#moderate
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index

8. Contact:

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

Copyright 2019 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBXUl3dtzjgjWX9erEAQgFdw/8CfIhte2zVv7vstBWpx2XCf2eJH+iu3m1
lvN3/A4hMH51d/9nKmOJiMXHABD713At1kv3iXl/8CgL2NG6G/flTNkjt/e7HiCN
JVtA3tz04tMGzqF5eIPbso5hGGZhqBe/M6lhEe98LiDCklRS/SpLQcPFJyLtHAc/
uwhPyPyFjmz/GUAMkcHBTYk3yRo/SJlUE6Mx+ZtSTqyNMEXW4Qf9dvC1Qb+8h5pn
icu6KFZ2TlNbhBD+xtiYJ34Ln0fZEu6GGYSQwpx/04vBbII0pTpcjWXxG66wlu8N
a4JofTPm7b0FfRt1Mt6vAK/KR6DzYVrBbVAaL+WWjX6hDZ3N3Kxexs0vt7hAg/gH
FcNvGFR59zmVWPBWZoVcoyZ/5LWoYo4HjuxnN6SQQK/VYiMJRQtyGVVENhmZ0tPu
7pzNdQdPrJTpI/MhMockotpHbodhtY5I+JImLxr5KKoopD7UpON2YktoIxvupPcE
bV21dhsif/H0Le2iLSIhS/rFfpjZjnWJsIu2P5aWdH7dlCqyebCAa0tOOuDlejn7
Q3Cs2a3ZWNAVsKwOovsyygTWoAxQuSkH5qNQOQYRN+3YjLwRW2LJYZwYBgatK4nx
oyTI58SPsy6rt2DyhfQTOaFSA/xEC/hetV0l9Xt2M3YLrnV5AiYEbb9RRDBX4EoW
rlGXc41UCgw=Ot1p
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2019-2154:01 Moderate: opensc security, bug fix,

An update for opensc is now available for Red Hat Enterprise Linux 7

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.
The following packages have been upgraded to a later upstream version: opensc (0.19.0). (BZ#1656791)
Security Fix(es):
* opensc: Buffer overflows handling responses from Muscle Cards in card-muscle.c:muscle_list_files() (CVE-2018-16391)
* opensc: Buffer overflows handling responses from TCOS Cards in card-tcos.c:tcos_select_file() (CVE-2018-16392)
* opensc: Buffer overflows handling responses from Gemsafe V1 Smartcards in pkcs15-gemsafeV1.c:gemsafe_get_cert_len() (CVE-2018-16393)
* opensc: Buffer overflow handling string concatention in tools/util.c:util_acl_to_str() (CVE-2018-16418)
* opensc: Buffer overflow handling responses from Cryptoflex cards in cryptoflex-tool.c:read_public_key() (CVE-2018-16419)
* opensc: Buffer overflows handling responses from ePass 2003 Cards in card-epass2003.c:decrypt_response() (CVE-2018-16420)
* opensc: Buffer overflows handling responses from CAC Cards in card-cac.c:cac_get_serial_nr_from_CUID() (CVE-2018-16421)
* opensc: Buffer overflow handling responses from esteid cards in pkcs15-esteid.c:sc_pkcs15emu_esteid_init() (CVE-2018-16422)
* opensc: Double free handling responses from smartcards in libopensc/sc.c:sc_file_set_sec_attr() (CVE-2018-16423)
* opensc: Out of bounds reads handling responses from smartcards (CVE-2018-16427)
* opensc: Infinite recusrion handling responses from IAS-ECC cards in card-iasecc.c:iasecc_select_file() (CVE-2018-16426)
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 7.7 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-2018-16391 https://access.redhat.com/security/cve/CVE-2018-16392 https://access.redhat.com/security/cve/CVE-2018-16393 https://access.redhat.com/security/cve/CVE-2018-16418 https://access.redhat.com/security/cve/CVE-2018-16419 https://access.redhat.com/security/cve/CVE-2018-16420 https://access.redhat.com/security/cve/CVE-2018-16421 https://access.redhat.com/security/cve/CVE-2018-16422 https://access.redhat.com/security/cve/CVE-2018-16423 https://access.redhat.com/security/cve/CVE-2018-16426 https://access.redhat.com/security/cve/CVE-2018-16427 https://access.redhat.com/security/updates/classification/#moderate https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.7_release_notes/index

Package List

Red Hat Enterprise Linux Client (v. 7):
Source: opensc-0.19.0-3.el7.src.rpm
x86_64: opensc-0.19.0-3.el7.i686.rpm opensc-0.19.0-3.el7.x86_64.rpm opensc-debuginfo-0.19.0-3.el7.i686.rpm opensc-debuginfo-0.19.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux ComputeNode Optional (v. 7):
Source: opensc-0.19.0-3.el7.src.rpm
x86_64: opensc-0.19.0-3.el7.i686.rpm opensc-0.19.0-3.el7.x86_64.rpm opensc-debuginfo-0.19.0-3.el7.i686.rpm opensc-debuginfo-0.19.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Server (v. 7):
Source: opensc-0.19.0-3.el7.src.rpm
ppc64: opensc-0.19.0-3.el7.ppc.rpm opensc-0.19.0-3.el7.ppc64.rpm opensc-debuginfo-0.19.0-3.el7.ppc.rpm opensc-debuginfo-0.19.0-3.el7.ppc64.rpm
ppc64le: opensc-0.19.0-3.el7.ppc64le.rpm opensc-debuginfo-0.19.0-3.el7.ppc64le.rpm
x86_64: opensc-0.19.0-3.el7.i686.rpm opensc-0.19.0-3.el7.x86_64.rpm opensc-debuginfo-0.19.0-3.el7.i686.rpm opensc-debuginfo-0.19.0-3.el7.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 7):
Source: opensc-0.19.0-3.el7.src.rpm
x86_64: opensc-0.19.0-3.el7.i686.rpm opensc-0.19.0-3.el7.x86_64.rpm opensc-debuginfo-0.19.0-3.el7.i686.rpm opensc-debuginfo-0.19.0-3.el7.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/


Severity
Advisory ID: RHSA-2019:2154-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2019:2154
Issued Date: : 2019-08-06
CVE Names: CVE-2018-16391 CVE-2018-16392 CVE-2018-16393 CVE-2018-16418 CVE-2018-16419 CVE-2018-16420 CVE-2018-16421 CVE-2018-16422 CVE-2018-16423 CVE-2018-16426 CVE-2018-16427

Topic

An update for opensc is now available for Red Hat Enterprise Linux 7.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 Client (v. 7) - x86_64

Red Hat Enterprise Linux ComputeNode Optional (v. 7) - x86_64

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, x86_64

Red Hat Enterprise Linux Workstation (v. 7) - x86_64


Bugs Fixed

1627998 - CVE-2018-16391 opensc: Buffer overflows handling responses from Muscle Cards in card-muscle.c:muscle_list_files()

1628002 - CVE-2018-16392 opensc: Buffer overflows handling responses from TCOS Cards in card-tcos.c:tcos_select_file()

1628006 - CVE-2018-16393 opensc: Buffer overflows handling responses from Gemsafe V1 Smartcards in pkcs15-gemsafeV1.c:gemsafe_get_cert_len()

1628010 - CVE-2018-16418 opensc: Buffer overflow handling string concatention in tools/util.c:util_acl_to_str()

1628013 - CVE-2018-16419 opensc: Buffer overflow handling responses from Cryptoflex cards in cryptoflex-tool.c:read_public_key()

1628016 - CVE-2018-16422 opensc: Buffer overflow handling responses from esteid cards in pkcs15-esteid.c:sc_pkcs15emu_esteid_init()

1628020 - CVE-2018-16423 opensc: Double free handling responses from smartcards in libopensc/sc.c:sc_file_set_sec_attr()

1628026 - CVE-2018-16420 opensc: Buffer overflows handling responses from ePass 2003 Cards in card-epass2003.c:decrypt_response()

1628034 - CVE-2018-16421 opensc: Buffer overflows handling responses from CAC Cards in card-cac.c:cac_get_serial_nr_from_CUID()

1628044 - CVE-2018-16426 opensc: Infinite recusrion handling responses from IAS-ECC cards in card-iasecc.c:iasecc_select_file()

1628052 - CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards

1656791 - Rebase to latest OpenSC 0.19.0

1672898 - CKR_KEY_TYPE_INCONSISTENT while doing ssh using sssd smart card


Related News