CVE-2004-1224 Memory corruption in n/a

Medium 4.6 Published Updated

Local attackers can exploit an off-by-one error in mtr to hijack raw sockets and escalate privileges via the curses interface.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2004-1224?

CVE-2004-1224 is a medium-severity memory corruption vulnerability in n/a, published on 15 Dec 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Off-by-one error in the mtr_curses_keyaction function for mtr 0.55 through 0.65 allows local users to hijack raw sockets, as demonstrated using the "s" keybinding, which leaves a buffer without a NULL terminator.

Which versions are affected by CVE-2004-1224?

It affects 1 product.

Products include Mtr Mtr.

How do I fix CVE-2004-1224?

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-2004-1224 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-1224, GHSA-5hc8-p83m-v3q6.

Is CVE-2004-1224 in your software?

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

Check your SBOMs for free