CVE-2020-14315 Memory corruption in bsdiff

Critical 9.8 Published Updated

An attacker can exploit insufficient input checks in bspatch to write outside buffer boundaries, potentially leading to arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-14315?

CVE-2020-14315 is a critical memory corruption vulnerability in bsdiff, published on 16 Sep 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A memory corruption vulnerability is present in bspatch as shipped in Colin Percival’s bsdiff tools version 4.3. Insufficient checks when handling external inputs allows an attacker to bypass the sanity checks in place and write out of a dynamically allocated buffer boundaries.

Weakness: CWE-787

Which versions are affected by CVE-2020-14315?

It affects 1 product.

Products include Daemonology Bsdiff.

How do I fix CVE-2020-14315?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2020-14315 being exploited?

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

Sources

Also known as DEBIAN-CVE-2020-14315, GHSA-g2hg-j8m2-ppxr, UBUNTU-CVE-2020-14315.

Is CVE-2020-14315 in your software?

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

Check your SBOMs for free