Menu

Star on GitHub · 3.2k

CVE-2018-20340

6.8 · MEDIUM

Yubico libu2f-host 1.1.6 contains unchecked buffers in devs.c, which could enable a malicious token to exploit a buffer overflow.

Published Mar 21, 2019CWE-119EPSS 0.50%

Overview

CVE-2018-20340 is a medium-severity vulnerability. It was published on March 21, 2019 and has a CVSS 3.0 base score of 6.8 (MEDIUM).

This vulnerability has a CVSS 3.0 base score of 6.8, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

Technical description

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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2018-20340?

CVE-2018-20340 is a medium-severity vulnerability. It was published on March 21, 2019 and has a CVSS 3.0 base score of 6.8 (MEDIUM).

How severe is CVE-2018-20340?

This vulnerability has a CVSS 3.0 base score of 6.8, rated MEDIUM. It requires local or adjacent network access to exploit. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2018-20340?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2018-20340?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2018-20340 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2018

View all