CVE-2019-18849 Memory corruption in n/a

Medium 5.5 Published Updated

A heap-based buffer over-read in tnef allows attackers to write to SSH authorized_keys via crafted email attachments, enabling unauthorized access.

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

What is CVE-2019-18849?

CVE-2019-18849 is a medium-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 11 Nov 2019. 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

In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorized_keys file via an e-mail message with a crafted winmail.dat application/ms-tnef attachment, because of a heap-based buffer over-read involving strdup.

Weakness: CWE-125

Which versions are affected by CVE-2019-18849?

It affects 4 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Tnef Project Tnef.

How do I fix CVE-2019-18849?

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-2019-18849 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-18849, DLA-2005-1, DLA-2748-1, GHSA-cq6j-h35c-x8gr, MGASA-2019-0367, UBUNTU-CVE-2019-18849 and 1 more.

Is CVE-2019-18849 in your software?

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

Check your SBOMs for free