CVE-2018-1060 Denial of service in python

Medium 4.3 Published Updated

An attacker can cause a denial of service in Python's pop3lib via catastrophic backtracking in the apop method.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-1060?

CVE-2018-1060 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 18 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

python before versions 2.7.15, 3.4.9, 3.5.6rc1, 3.6.5rc1 and 3.7.0 is vulnerable to catastrophic backtracking in pop3lib's apop() method. An attacker could use this flaw to cause denial of service.

Weakness: CWE-20

Which versions are affected by CVE-2018-1060?

It affects 8 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Python Python, Redhat Ansible Tower, Redhat Enterprise Linux Desktop and 2 more.

How do I fix CVE-2018-1060?

Upgrade to a fixed version.

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-1060 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-1060, DEBIAN-CVE-2018-1060, GHSA-7hp6-577h-hcgr, PSF-2018-3, UBUNTU-CVE-2018-1060.

Is CVE-2018-1060 in your software?

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

Check your SBOMs for free