CVE-2017-1085 Memory corruption in FreeBSD

High 7.8 Published Updated

A local attacker can execute arbitrary code by exploiting a memory permission flaw in the FreeBSD kernel's stack limit handling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-1085?

CVE-2017-1085 is a high-severity memory corruption vulnerability in Freebsd Freebsd, published on 12 Sep 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In FreeBSD before 11.2-RELEASE, an application which calls setrlimit() to increase RLIMIT_STACK may turn a read-only memory region below the stack into a read-write region. A specially crafted executable could be exploited to execute arbitrary code in the user context.

Weakness: CWE-119

Which versions are affected by CVE-2017-1085?

It affects 1 product.

Products include Freebsd Freebsd.

How do I fix CVE-2017-1085?

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

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

Is CVE-2017-1085 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-1085 exists.

Public exploit code: 1 Exploit-DB entry.

All Freebsd Freebsd vulnerabilities

Sources

Also known as GHSA-79vc-vx5h-v27q.

Is CVE-2017-1085 in your software?

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

Check your SBOMs for free