Buffer overflow in opensc (Alpine package)



Published: 2018-11-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2018-16392
CWE-ID CWE-120
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
opensc (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Buffer overflow

EUVDB-ID: #VU16731

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 - Buffer overflow

Exploit availability: No

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

Install update from vendor's website.

Vulnerable software versions

opensc (Alpine package): 0.13.0-r0 - 0.17.0-r5

External links

http://git.alpinelinux.org/aports/commit/?id=dae98cd340ff7dc76ebb8d7cf1b949c488688a77
http://git.alpinelinux.org/aports/commit/?id=8a19072c6d6a326b70858085a9dc1d29861fb3da
http://git.alpinelinux.org/aports/commit/?id=8ed91d2a9a7e8d3d7eebcf756173eb64be295118


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.



###SIDEBAR###