Use After Free Affecting systemd-debugsource package, versions <0:239-58.el8_6.4


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
1.34% (71st 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-ROCKY8-SYSTEMDDEBUGSOURCE-3201500
  • published5 Jan 2023
  • disclosed9 Sept 2022

Introduced: 9 Sep 2022

CVE-2022-2526  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 systemd-debugsource to version 0:239-58.el8_6.4 or higher.
This issue was patched in RLSA-2022:6206.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-debugsource package and not the systemd-debugsource package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:8 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1