CVE-2017-9445 Memory corruption in n/a

High 7.5 Published Updated

A malicious DNS server can trigger a buffer overflow in systemd-resolved via crafted TCP responses, potentially allowing arbitrary code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-9445?

CVE-2017-9445 is a high-severity memory corruption vulnerability in Systemd Project Systemd, published on 28 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In systemd through 233, certain sizes passed to dns_packet_new in systemd-resolved can cause it to allocate a buffer that's too small. A malicious DNS server can exploit this via a response with a specially crafted TCP payload to trick systemd-resolved into allocating a buffer that's too small, and subsequently write arbitrary data beyond the end of it.

Weakness: CWE-787

Which versions are affected by CVE-2017-9445?

It affects 1 product.

Linux distribution packages (9)
dracut SUSE:Linux Enterprise Desktop 12 SP2All versions044.1-109.8.3
systemd SUSE:Linux Enterprise Desktop 12 SP2All versions228-150.7.1
dracut SUSE:Linux Enterprise Server 12 SP2All versions044.1-109.8.3
systemd SUSE:Linux Enterprise Server 12 SP2All versions228-150.7.1
dracut SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions044.1-109.8.3
systemd SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions228-150.7.1
dracut SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions044.1-109.8.3
systemd SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions228-150.7.1
systemd SUSE:Linux Enterprise Software Development Kit 12 SP2All versions228-150.7.1

Products include Systemd Project Systemd.

How do I fix CVE-2017-9445?

Apply the vendor's patch.

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

Is CVE-2017-9445 being exploited?

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

All Systemd Project Systemd vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-9445, GHSA-42xm-66qf-5jj8, SUSE-SU-2017:1898-1, UBUNTU-CVE-2017-9445.

Is CVE-2017-9445 in your software?

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

Check your SBOMs for free