portage-ng / portage / sys-apps / pcsc-lite / 2.4.1
portage-ng glsa
2 advisories reference sys-apps/pcsc-lite · none place version 2.4.1 in a vulnerable range
▸ GLSA 201702-01 PCSC-Lite: Multiple vulnerabilities this version unaffected normal local 2017-02-01

Multiple vulnerabilities have been found in PCSC-Lite, the worst of which could lead to privilege escalation.

Announced
2017-02-01
Revised
2017-02-01
Access
local
Bugs
#604574
Advisory
https://security.gentoo.org/glsa/201702-01

Affected packages

PackageArchVulnerableUnaffected
sys-apps/pcsc-lite*< 1.8.20>= 1.8.20

Background

PCSC-Lite is a middleware to access a smart card using the SCard API (PC/SC).

Description

The SCardReleaseContext function normally releases resources associated with the given handle (including “cardsList”) and clients should cease using this handle. However, a malicious client can make the daemon invoke SCardReleaseContext and continue issuing other commands that use “cardsList”, resulting in a use-after-free. When SCardReleaseContext is invoked multiple times it additionally results in a double-free of “cardsList”.

Impact

A local attacker could use a malicious client to connect to pcscd’s Unix socket, possibly resulting in a Denial of Service condition or privilege escalation since the daemon is running as root.

Workaround

There is no known workaround at this time.

Resolution

All PCSC-Lite users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/pcsc-lite-1.8.20"

References

▸ GLSA 201401-17 PCSC-Lite: Arbitrary code execution this version unaffected normal local 2014-01-21

A vulnerability in PCSC-Lite could result in execution of arbitrary code or Denial of Service.

Announced
2014-01-21
Revised
2014-01-21
Access
local
Bugs
#349561
Advisory
https://security.gentoo.org/glsa/201401-17

Affected packages

PackageArchVulnerableUnaffected
sys-apps/pcsc-lite*< 1.6.6>= 1.6.6

Background

PCSC-Lite is a PC/SC Architecture smartcard middleware library.

Description

PCSC-Lite contains a stack-based buffer overflow in the ATRDecodeAtr function in the Answer-to-Reset Handler (atrhandler.c).

Impact

A physically proximate attacker could execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PCSC-Lite users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/pcsc-lite-1.6.6"

NOTE: This is a legacy GLSA. Updates for all affected architectures are available since January 10, 2011. It is likely that your system is already no longer affected by this issue.

References