Use After Free Affecting systemd-devel package, versions <0:219-78.amzn2.0.20
Snyk CVSS
Threat Intelligence
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 ID SNYK-AMZN2-SYSTEMDDEVEL-3042681
- published 12 Oct 2022
- disclosed 9 Sep 2022
Introduced: 9 Sep 2022
CVE-2022-2526 Open this link in a new tabHow to fix?
Upgrade Amazon-Linux:2
systemd-devel
to version 0:219-78.amzn2.0.20 or higher.
This issue was patched in ALAS2-2022-1854
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream systemd-devel
package and not the systemd-devel
package as distributed by Amazon-Linux
.
See How to fix?
for Amazon-Linux:2
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.