OpenSC: Arbitrary code execution — GLSA 201401-18

Multiple stack-based buffer overflows have been found in OpenSC, allowing attackers to execute arbitrary code.

Affected Packages

dev-libs/opensc on all architectures
Affected versions < 0.11.13-r2
Unaffected versions >= 0.11.13-r2

Background

OpenSC is a tools and libraries for smart cards.

Description

Multiple stack-based buffer overflow errors have been discovered in OpenSC.

Impact

A physically proximate attacker could possibly execute arbitrary code using a specially crafted smart card.

Workaround

There is no known workaround at this time.

Resolution

All OpenSC users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/opensc-0.11.13-r2"
 

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

References

Release Date
January 21, 2014

Latest Revision
January 21, 2014: 1

Severity
normal

Exploitable
local

Bugzilla entries