CVE-2019-12937 Memory corruption in n/a

High 7.8 Published Updated

A buffer overflow in gsudo allows local attackers to escalate privileges to root via the DISPLAY environment variable.

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-2019-12937?

CVE-2019-12937 is a high-severity memory corruption vulnerability in n/a, published on 23 Jun 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

apps/gsudo.c in gsudo in ToaruOS through 1.10.9 has a buffer overflow allowing local privilege escalation to the root user via the DISPLAY environment variable.

Weakness: CWE-787

Which versions are affected by CVE-2019-12937?

It affects 1 product.

Products include Toaruos Project Toaruos.

How do I fix CVE-2019-12937?

No fix has been published for CVE-2019-12937 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-2019-12937 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-cjrm-ccjq-r9vp.

Is CVE-2019-12937 in your software?

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

Check your SBOMs for free