#VU16731 Buffer overflow in OpenSC


Published: 2018-12-27

Vulnerability identifier: #VU16731

Vulnerability risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-16392

CWE-ID: CWE-120

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
OpenSC
Universal components / Libraries / Libraries used by multiple products

Vendor: OpenSC

Description

The vulnerability allows a remote attacker to cause DoS condition on the target system.

The vulnerability exists due to boundary error when handling responses from a TCOS Card in tcos_select_file in libopensc/card-tcos.c. A remote unauthenticated attacker can supply specially crafted smartcards, trigger memory corruption and cause the application to crash.

Mitigation
Update to version 0.19.0-rc1.

Vulnerable software versions

OpenSC: 0.12.0 - 0.18.0 rc2


External links
http://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
http://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability