RedHat: RHSA-2019-2154: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.
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/
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