CVE-2018-20340: Buffer Overflow
Yubico libu2f-host 1.1.6 contains unchecked buffers in devs.c, which could enable a malicious token to exploit a buffer overflow. An attacker could use this to attempt to execute malicious code using a crafted USB device masquerading as a security token on a computer where the affected library is currently in use. It is not possible to perform this attack with a genuine YubiKey.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2018-20340?
CVE-2018-20340 is a vulnerability in Yubico libu2f-host 1.1.6 that allows a malicious token to exploit a buffer overflow.
What is the severity of CVE-2018-20340?
The severity of CVE-2018-20340 is medium with a CVSS score of 6.8.
How does CVE-2018-20340 work?
CVE-2018-20340 works by using unchecked buffers in devs.c to enable a malicious token to execute malicious code through a crafted USB device.
Which software versions are affected by CVE-2018-20340?
Yubico libu2f-host 1.1.6 and Debian Linux 9.0 are affected by CVE-2018-20340.
How can I fix CVE-2018-20340?
To fix CVE-2018-20340, you should update the libu2f-host package to version 1.1.9-1 or 1.1.10-3 for Debian Linux.