CVE-2020-13132 Use after free in n/a

Medium 4.3 Published Updated

An attacker can trigger a denial of service in the Yubico libykpiv library via incorrect error handling leading to an invalid free operation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-13132?

CVE-2020-13132 is a medium-severity use after free vulnerability in n/a, published on 9 Jul 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect free() in the ykpiv_util_generate_key() function in lib/util.c through incorrect error handling code. This could be used to cause a denial of service attack.

Weakness: CWE-763

Which versions are affected by CVE-2020-13132?

It affects 3 products.

Products include Yubico Libykpiv, Yubico Piv Tool Manager, Yubico Yubikey Smart Card Minidriver.

How do I fix CVE-2020-13132?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2020-13132 being exploited?

There is no known exploitation of CVE-2020-13132 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2020-13132, GHSA-mg7w-vxv4-393q, UBUNTU-CVE-2020-13132.

Is CVE-2020-13132 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free