CVE-2018-17540 Memory corruption in n/a

High 7.5 Published Updated

A buffer overflow in strongSwan's gmp plugin allows attackers to execute arbitrary code or cause denial of service via a crafted certificate.

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

CVE-2018-17540 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 3 Oct 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.

Weakness: CWE-119

Which versions are affected by CVE-2018-17540?

It affects 3 products.

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

How do I fix CVE-2018-17540?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-17540 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-17540, DEBIAN-CVE-2018-17540, DLA-1528-1, DSA-4309-1, GHSA-7wxf-w2jw-5jhr, UBUNTU-CVE-2018-17540 and 1 more.

Is CVE-2018-17540 in your software?

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

Check your SBOMs for free