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.
Metrics
CVSS 3.1 9.8/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | systemd-resolved | systemd 240 |
References
- https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27cPatch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221111-0005/Third Party Advisory
- https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27cPatch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20221111-0005/Third Party Advisory
Timeline
- Published
- Sep 9, 2022
- Last modified
- Jun 17, 2026
- NVD status
- Modified