Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2022-2526: CVE-2022-2526 systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2022-2526: CVE-2022-2526 systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
08/24/2022
Created
08/29/2022
Added
08/26/2022
Modified
12/15/2023

Description

A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks called can dereference the DNSStream object, causing the use-after-free when the reference is still used later.

Solution(s)

  • redhat-upgrade-libgudev1
  • redhat-upgrade-libgudev1-devel
  • redhat-upgrade-systemd
  • redhat-upgrade-systemd-container
  • redhat-upgrade-systemd-container-debuginfo
  • redhat-upgrade-systemd-debuginfo
  • redhat-upgrade-systemd-debugsource
  • redhat-upgrade-systemd-devel
  • redhat-upgrade-systemd-journal-gateway
  • redhat-upgrade-systemd-journal-remote
  • redhat-upgrade-systemd-journal-remote-debuginfo
  • redhat-upgrade-systemd-libs
  • redhat-upgrade-systemd-libs-debuginfo
  • redhat-upgrade-systemd-networkd
  • redhat-upgrade-systemd-pam
  • redhat-upgrade-systemd-pam-debuginfo
  • redhat-upgrade-systemd-python
  • redhat-upgrade-systemd-resolved
  • redhat-upgrade-systemd-sysv
  • redhat-upgrade-systemd-tests
  • redhat-upgrade-systemd-tests-debuginfo
  • redhat-upgrade-systemd-udev
  • redhat-upgrade-systemd-udev-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;