{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-2526","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","dateUpdated":"2024-08-03T00:39:08.031Z","dateReserved":"2022-07-24T00:00:00.000Z","datePublished":"2022-09-09T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat","dateUpdated":"2022-11-14T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"systemd-resolved","versions":[{"version":"systemd 240","status":"affected"}]}],"references":[{"url":"https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c"},{"url":"https://security.netapp.com/advisory/ntap-20221111-0005/"}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-416","cweId":"CWE-416"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T00:39:08.031Z"},"title":"CVE Program Container","references":[{"url":"https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221111-0005/","tags":["x_transferred"]}]}]}}