Vulnerabilidades / CVE-2022-2526

crítica

CVE-2022-2526

systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c

Publicada Modificada CWE 416
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Oracle (alta), Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Photon OS 3.0systemd239-44.ph3
alma 8systemd, systemd-container, systemd-devel y 5 más239-58.el8_6.4
amazon linux 2libgudev1, libgudev1-devel, systemd y 8 más219-78.amzn2.0.20
debian 11systemd240-1
debian 12systemd240-1
debian 13systemd240-1
debian 14systemd240-1
echosystemd240-1
Oracle Linux 7libgudev1, libgudev1-devel, systemd y 7 más219-78.0.9.el7_9.7
Oracle Linux 8systemd, systemd-container, systemd-devel y 5 más239-58.0.1.el8_6.4
rocky 8systemd, systemd-container, systemd-devel y 5 más239-58.el8_6.4
root.io debian 12rootio-systemd240-1
Mostrar las 55 entradas de 15 fuentes
FuentePaqueteCorregido en
Photon OS 3.0systemd239-44.ph3
alma 8systemd239-58.el8_6.4
alma 8systemd-container239-58.el8_6.4
alma 8systemd-devel239-58.el8_6.4
alma 8systemd-journal-remote239-58.el8_6.4
alma 8systemd-libs239-58.el8_6.4
alma 8systemd-pam239-58.el8_6.4
alma 8systemd-tests239-58.el8_6.4
alma 8systemd-udev239-58.el8_6.4
amazon linux 2libgudev1219-78.amzn2.0.20
amazon linux 2libgudev1-devel219-78.amzn2.0.20
amazon linux 2systemd219-78.amzn2.0.20
amazon linux 2systemd-debuginfo219-78.amzn2.0.20
amazon linux 2systemd-devel219-78.amzn2.0.20
amazon linux 2systemd-journal-gateway219-78.amzn2.0.20
amazon linux 2systemd-libs219-78.amzn2.0.20
amazon linux 2systemd-networkd219-78.amzn2.0.20
amazon linux 2systemd-python219-78.amzn2.0.20
amazon linux 2systemd-resolved219-78.amzn2.0.20
amazon linux 2systemd-sysv219-78.amzn2.0.20
debian 11systemd240-1
debian 12systemd240-1
debian 13systemd240-1
debian 14systemd240-1
echosystemd240-1
Oracle Linux 7libgudev1219-78.0.9.el7_9.7
Oracle Linux 7libgudev1-devel219-78.0.9.el7_9.7
Oracle Linux 7systemd219-78.0.9.el7_9.7
Oracle Linux 7systemd-devel219-78.0.9.el7_9.7
Oracle Linux 7systemd-journal-gateway219-78.0.9.el7_9.7
Oracle Linux 7systemd-libs219-78.0.9.el7_9.7
Oracle Linux 7systemd-networkd219-78.0.9.el7_9.7
Oracle Linux 7systemd-python219-78.0.9.el7_9.7
Oracle Linux 7systemd-resolved219-78.0.9.el7_9.7
Oracle Linux 7systemd-sysv219-78.0.9.el7_9.7
Oracle Linux 8systemd239-58.0.1.el8_6.4
Oracle Linux 8systemd-container239-58.0.1.el8_6.4
Oracle Linux 8systemd-devel239-58.0.1.el8_6.4
Oracle Linux 8systemd-journal-remote239-58.0.1.el8_6.4
Oracle Linux 8systemd-libs239-58.0.1.el8_6.4
Oracle Linux 8systemd-pam239-58.0.1.el8_6.4
Oracle Linux 8systemd-tests239-58.0.1.el8_6.4
Oracle Linux 8systemd-udev239-58.0.1.el8_6.4
rocky 8systemd239-58.el8_6.4
rocky 8systemd-container239-58.el8_6.4
rocky 8systemd-devel239-58.el8_6.4
rocky 8systemd-journal-remote239-58.el8_6.4
rocky 8systemd-libs239-58.el8_6.4
rocky 8systemd-pam239-58.el8_6.4
rocky 8systemd-tests239-58.el8_6.4
rocky 8systemd-udev239-58.el8_6.4
root.io debian 12rootio-systemd240-1
root.io debian 13rootio-systemd240-1
ubuntu 18.04systemd237-3ubuntu10.54
ubuntu 18.04-ESMsystemd237-3ubuntu10.54

Referencias

Las 13 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.