Out-of-bounds Write Affecting systemd/systemd package, versions [,234)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
31.13% (98th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SYSTEMDSYSTEMD-2365466
  • published26 Jan 2022
  • disclosed28 Jun 2017
  • creditUnknown

Introduced: 28 Jun 2017

CVE-2017-9445  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade systemd/systemd to version 234 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

CVSS Scores

version 3.1