CVE-2018-6918 Denial of service in FreeBSD

High 7.5 Published Updated

A remote attacker can crash the system by sending a crafted packet with a zero-length IPsec option header, causing an infinite loop.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-6918?

CVE-2018-6918 is a high-severity denial of service vulnerability in Freebsd Freebsd, published on 4 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In FreeBSD before 11.1-STABLE, 11.1-RELEASE-p9, 10.4-STABLE, 10.4-RELEASE-p8 and 10.3-RELEASE-p28, the length field of the ipsec option header does not count the size of the option header itself, causing an infinite loop when the length is zero. This issue can allow a remote attacker who is able to send an arbitrary packet to cause the machine to crash.

Weakness: CWE-835

Which versions are affected by CVE-2018-6918?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2018-6918?

No fix has been published for CVE-2018-6918 yet. Limit exposure of the affected software until one is available.

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

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

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-v4xf-p7r4-pfpq.

Is CVE-2018-6918 in your software?

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

Check your SBOMs for free