CVE-2018-5388 Denial of service in strongSwan
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.
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.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-5388, DEBIAN-CVE-2018-5388, GHSA-fg62-299p-x79j, UBUNTU-CVE-2018-5388.