CVE-2018-5388 Denial of service in strongSwan

Medium 6.5 Published Updated

A missing packet length check in strongSwan allows attackers to cause resource exhaustion and denial of service via socket reading.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-5388?

CVE-2018-5388 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 31 May 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In stroke_socket.c in strongSwan before 5.6.3, a missing packet length check could allow a buffer underflow, which may lead to resource exhaustion and denial of service while reading from the socket.

Weakness: CWE-787, CWE-124

Which versions are affected by CVE-2018-5388?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Strongswan Strongswan.

How do I fix CVE-2018-5388?

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

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-5388, DEBIAN-CVE-2018-5388, GHSA-fg62-299p-x79j, UBUNTU-CVE-2018-5388.

Is CVE-2018-5388 in your software?

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

Check your SBOMs for free