-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2013.0264
              Moderate: pcsc-lite security and bug fix update
                             22 February 2013

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           pcsc-lite
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux Server 6
                   Red Hat Enterprise Linux WS/Desktop 6
Impact/Access:     Root Compromise -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2010-4531  

Reference:         ESB-2011.0149
                   ESB-2011.0105
                   ESB-2011.0076

Original Bulletin: 
   https://rhn.redhat.com/errata/RHSA-2013-0525.html

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

Synopsis:          Moderate: pcsc-lite security and bug fix update
Advisory ID:       RHSA-2013:0525-02
Product:           Red Hat Enterprise Linux
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2013-0525.html
Issue date:        2013-02-21
CVE Names:         CVE-2010-4531 
=====================================================================

1. Summary:

Updated pcsc-lite packages that fix one security issue and three bugs are
now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64

3. Description:

PC/SC Lite provides a Windows SCard compatible interface for communicating
with smart cards, smart card readers, and other security tokens.

A stack-based buffer overflow flaw was found in the way pcsc-lite decoded
certain attribute values of Answer-to-Reset (ATR) messages. A local
attacker could use this flaw to execute arbitrary code with the privileges
of the user running the pcscd daemon (root, by default), by inserting a
specially-crafted smart card. (CVE-2010-4531)

This update also fixes the following bugs:

* Due to an error in the init script, the chkconfig utility did not
automatically place the pcscd init script after the start of the HAL
daemon. Consequently, the pcscd service did not start automatically at boot
time. With this update, the pcscd init script has been changed to
explicitly start only after HAL is up, thus fixing this bug. (BZ#788474,
BZ#814549)

* Because the chkconfig settings and the startup files in the /etc/rc.d/
directory were not changed during the update described in the
RHBA-2012:0990 advisory, the user had to update the chkconfig settings
manually to fix the problem. Now, the chkconfig settings and the startup
files in the /etc/rc.d/ directory are automatically updated as expected.
(BZ#834803)

* Previously, the SCardGetAttrib() function did not work properly and
always returned the "SCARD_E_INSUFFICIENT_BUFFER" error regardless of the
actual buffer size. This update applies a patch to fix this bug and the
SCardGetAttrib() function now works as expected. (BZ#891852)

All users of pcsc-lite are advised to upgrade to these updated packages,
which fix these issues. After installing this update, the pcscd daemon will
be restarted automatically.

4. Solution:

Before applying this update, make sure all previously-released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/knowledge/articles/11258

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

664999 - CVE-2010-4531 pcsc-lite: Stack-based buffer overflow in Answer-to-Reset (ATR) decoder
834803 - Update of pcsc-lite does not fix problems addressed in BUG 812469
891852 - pcsc-lite: incorrect check in SCardGetAttrib and SCardSetAttrib handling

6. Package List:

Red Hat Enterprise Linux Desktop (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm

x86_64:
pcsc-lite-1.5.2-11.el6.x86_64.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux Desktop Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-doc-1.5.2-11.el6.i686.rpm

x86_64:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.x86_64.rpm
pcsc-lite-doc-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux HPC Node Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

x86_64:
pcsc-lite-1.5.2-11.el6.x86_64.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.x86_64.rpm
pcsc-lite-doc-1.5.2-11.el6.x86_64.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux Server (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm

ppc64:
pcsc-lite-1.5.2-11.el6.ppc64.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.ppc.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.ppc64.rpm
pcsc-lite-libs-1.5.2-11.el6.ppc.rpm
pcsc-lite-libs-1.5.2-11.el6.ppc64.rpm

s390x:
pcsc-lite-1.5.2-11.el6.s390x.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.s390.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.s390x.rpm
pcsc-lite-libs-1.5.2-11.el6.s390.rpm
pcsc-lite-libs-1.5.2-11.el6.s390x.rpm

x86_64:
pcsc-lite-1.5.2-11.el6.x86_64.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux Server Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-doc-1.5.2-11.el6.i686.rpm

ppc64:
pcsc-lite-debuginfo-1.5.2-11.el6.ppc.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.ppc64.rpm
pcsc-lite-devel-1.5.2-11.el6.ppc.rpm
pcsc-lite-devel-1.5.2-11.el6.ppc64.rpm
pcsc-lite-doc-1.5.2-11.el6.ppc64.rpm

s390x:
pcsc-lite-debuginfo-1.5.2-11.el6.s390.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.s390x.rpm
pcsc-lite-devel-1.5.2-11.el6.s390.rpm
pcsc-lite-devel-1.5.2-11.el6.s390x.rpm
pcsc-lite-doc-1.5.2-11.el6.s390x.rpm

x86_64:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.x86_64.rpm
pcsc-lite-doc-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm

x86_64:
pcsc-lite-1.5.2-11.el6.x86_64.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-libs-1.5.2-11.el6.i686.rpm
pcsc-lite-libs-1.5.2-11.el6.x86_64.rpm

Red Hat Enterprise Linux Workstation Optional (v. 6):

Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/pcsc-lite-1.5.2-11.el6.src.rpm

i386:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-doc-1.5.2-11.el6.i686.rpm

x86_64:
pcsc-lite-debuginfo-1.5.2-11.el6.i686.rpm
pcsc-lite-debuginfo-1.5.2-11.el6.x86_64.rpm
pcsc-lite-devel-1.5.2-11.el6.i686.rpm
pcsc-lite-devel-1.5.2-11.el6.x86_64.rpm
pcsc-lite-doc-1.5.2-11.el6.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/#package

7. References:

https://www.redhat.com/security/data/cve/CVE-2010-4531.html
https://access.redhat.com/security/updates/classification/#moderate

8. Contact:

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

Copyright 2013 Red Hat, Inc.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFRJcQdXlSAg2UNWIIRAhrdAJ9qoaSgTfY2GPTVbBXxKWjuEcrzcACfUHuy
zZAX1DrqQb5TOtv+6PIYQUw=
=uh3T
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUScLCe4yVqjM2NGpAQL7Iw//cdqKvqF5FCrZBExt5xUZnTq+iqqWz/rT
uFMTNE+pToUTEGfSfTpMsnOivXkRBmYGo9Kx99JWSU1haHo5XC/BBzGgIDhNbihb
mkooKRCSgwQ+da6VEIdn79f4LINRn1Bm5Ti2+i8d0L0rYy+vM3xF7ZEOdr1htqDt
ZM0/lq/4oivwdYd77ekAds+u9O0unJZF4tZPm2XeiZMLHmgtV4AgTKusN1MmmUue
CZQxsg+FEwFF/BdFiQQlnXUopod0jDOVYrI9D+6eqE2AoC+kI8/F14K7MCmhvx1l
fiR2lFTjctPtxppTbp5Z7bBCJ70SAw4nVN6MZNypCFU0eJ8Ds3rUL7Tce21N7udS
N8U8ooEMA8rTU+f6pl2TAUYYEMdtpCknW6lCLf6xY8T1P+7wNueDz+po9dIgPXvf
TjX2vU7usp9eOG4nSukl59sJhcf3gd6FeammRIb8n6FnE4MTGHUZ/Bgke05+oi56
Mo2+yzP/CkTsic1u3Gy3ZhbWDrmZ6DnmstuXiDU38PnS5K/85bSSkt81pntdjSv4
xFDZN+1qNijEFMOLndy6tbsZkodHYXTpBYvs1x0qKxj4kM0kuuod/10aSPYCchIz
PpEfB+os8tKR1N81REd3Obqv6xNdE5WJRJ+ps+Z108QoqIUHEAaSDwYEIMy1U5pO
nRVrgU66t8M=
=DP/3
-----END PGP SIGNATURE-----