ASA-201701-12 generated external raw

[ASA-201701-12] pcsclite: privilege escalation
Arch Linux Security Advisory ASA-201701-12 ========================================== Severity: Medium Date : 2017-01-04 CVE-ID : CVE-2016-10109 Package : pcsclite Type : privilege escalation Remote : No Link : Summary ======= The package pcsclite before version 1.8.20-1 is vulnerable to privilege escalation. Resolution ========== Upgrade to 1.8.20-1. # pacman -Syu "pcsclite>=1.8.20-1" The problem has been fixed upstream in version 1.8.20. Workaround ========== None. Description =========== The SCardReleaseContext function normally releases resources associated with the given handle (including "cardsList") and clients should cease using this handle. A malicious client can however 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". The issue allows a local attacker to cause a denial of service, but can potentially result in privilege escalation since the daemon is running as root while any local user can connect to the Unix socket. Fixed by patch "SCardReleaseContext: prevent use-after-free of cardsList" which is released with hpcsc-lite 1.8.20 on 30 December 2016. Impact ====== A local attacker is able to cause a denial of service or escalate privileges by sending specially crafted commands to pcscd. References ==========