CVE-2018-20021 Denial of service in LibVNC

High 7.5 Published Updated

An attacker can cause excessive CPU and RAM consumption in LibVNC clients via an infinite loop, leading to denial of service.

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

What is CVE-2018-20021?

CVE-2018-20021 is a high-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 19 Dec 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LibVNC before commit c3115350eb8bb635d0fdb4dbbb0d0541f38ed19c contains a CWE-835: Infinite loop vulnerability in VNC client code. Vulnerability allows attacker to consume excessive amount of resources like CPU and RAM

Weakness: CWE-835

Which versions are affected by CVE-2018-20021?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Libvnc Project Libvncserver.

How do I fix CVE-2018-20021?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2018-20021 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-20021, GHSA-m4r6-9jrx-9hxw, UBUNTU-CVE-2018-20021.

Is CVE-2018-20021 in your software?

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

Check your SBOMs for free