CVE-2022-2526

critical

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.

References

https://security.netapp.com/advisory/ntap-20221111-0005/

https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c

Details

Source: Mitre, NVD

Published: 2022-09-09

Updated: 2023-01-20

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical