CVE-2018-16743 Memory corruption in n/a

High 7.8 Published Updated

A stack-based buffer overflow in mgetty's login component allows attackers to execute arbitrary code via unsanitized username input.

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

What is CVE-2018-16743?

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

Official description

An issue was discovered in mgetty before 1.2.1. In contrib/next-login/login.c, the command-line parameter username is passed unsanitized to strcpy(), which can cause a stack-based buffer overflow.

Weakness: CWE-787

Which versions are affected by CVE-2018-16743?

It affects 1 product.

Products include Mgetty Project Mgetty.

How do I fix CVE-2018-16743?

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

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

Sources

Also known as DEBIAN-CVE-2018-16743, GHSA-63wf-289m-vgw6, UBUNTU-CVE-2018-16743.

Is CVE-2018-16743 in your software?

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

Check your SBOMs for free