CVE-2018-1000808 Pyopenssl Incorrect Memory Management

Medium 5.9 Published Updated

A memory leak in pyopenssl's PKCS #12 store handling can lead to denial of service by exhausting system memory during certificate reloads.

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-1000808?

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

Official description

Python Cryptographic Authority pyopenssl version Before 17.5.0 contains a CWE - 401 : Failure to Release Memory Before Removing Last Reference vulnerability in PKCS #12 Store that can result in Denial of service if memory runs low or is exhausted. This attack appear to be exploitable via Depends upon calling application, however it could be as simple as initiating a TLS connection. Anything that would cause the calling application to reload certificates from a PKCS #12 store.. This vulnerability appears to have been fixed in 17.5.0.

Weakness: CWE-404

Which versions are affected by CVE-2018-1000808?

3 open source packages ship an affected version, including pyopenssl. It affects 7 products.

PackageAffectedFixed in
pyopenssl PyPIAll versions17.5.0
pyopenssl PyPIAll versions17.5.0
pyopenssl PyPIAll versions17.5.0

Products include Canonical Ubuntu Linux, Pyopenssl Project Pyopenssl, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation, Redhat Gluster Storage and 1 more.

How do I fix CVE-2018-1000808?

Upgrade pyopenssl to 17.5.0 or later.

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-1000808, DEBIAN-CVE-2018-1000808, GHSA-2rcm-phc9-3945, PYSEC-2018-24, UBUNTU-CVE-2018-1000808.

Is CVE-2018-1000808 in your software?

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

Check your SBOMs for free