Buffer overflow in libu2f-host - CVE-2018-20340

 

Buffer overflow in libu2f-host - CVE-2018-20340

Published: February 18, 2019


Vulnerability identifier: #VU17735
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-20340
CWE-ID: CWE-120
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a physical attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error. An attacker with a custom made malicious USB device masquerading as a security key, and physical access to a computer where PAM U2F or an application with libu2f-host integrated can trigger buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libu2f-host
Arch Linux
Opensuse
libu2f-host (Debian package)

How to mitigate CVE-2018-20340

Update to version 1.1.7.

libu2f-host - update to 1.1.7
libu2f-host (Debian package) - update to 1.1.2-2+deb9u1

External References

Related Security Bulletins