CVE-2022-2526
systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c
Severidad por fuente
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
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 3.0 | systemd | 239-44.ph3 |
| alma 8 | systemd, systemd-container, systemd-devel y 5 más | 239-58.el8_6.4 |
| amazon linux 2 | libgudev1, libgudev1-devel, systemd y 8 más | 219-78.amzn2.0.20 |
| debian 11 | systemd | 240-1 |
| debian 12 | systemd | 240-1 |
| debian 13 | systemd | 240-1 |
| debian 14 | systemd | 240-1 |
| echo | systemd | 240-1 |
| Oracle Linux 7 | libgudev1, libgudev1-devel, systemd y 7 más | 219-78.0.9.el7_9.7 |
| Oracle Linux 8 | systemd, systemd-container, systemd-devel y 5 más | 239-58.0.1.el8_6.4 |
| rocky 8 | systemd, systemd-container, systemd-devel y 5 más | 239-58.el8_6.4 |
| root.io debian 12 | rootio-systemd | 240-1 |
Mostrar las 55 entradas de 15 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| Photon OS 3.0 | systemd | 239-44.ph3 |
| alma 8 | systemd | 239-58.el8_6.4 |
| alma 8 | systemd-container | 239-58.el8_6.4 |
| alma 8 | systemd-devel | 239-58.el8_6.4 |
| alma 8 | systemd-journal-remote | 239-58.el8_6.4 |
| alma 8 | systemd-libs | 239-58.el8_6.4 |
| alma 8 | systemd-pam | 239-58.el8_6.4 |
| alma 8 | systemd-tests | 239-58.el8_6.4 |
| alma 8 | systemd-udev | 239-58.el8_6.4 |
| amazon linux 2 | libgudev1 | 219-78.amzn2.0.20 |
| amazon linux 2 | libgudev1-devel | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-debuginfo | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-devel | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-journal-gateway | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-libs | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-networkd | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-python | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-resolved | 219-78.amzn2.0.20 |
| amazon linux 2 | systemd-sysv | 219-78.amzn2.0.20 |
| debian 11 | systemd | 240-1 |
| debian 12 | systemd | 240-1 |
| debian 13 | systemd | 240-1 |
| debian 14 | systemd | 240-1 |
| echo | systemd | 240-1 |
| Oracle Linux 7 | libgudev1 | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | libgudev1-devel | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-devel | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-journal-gateway | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-libs | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-networkd | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-python | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-resolved | 219-78.0.9.el7_9.7 |
| Oracle Linux 7 | systemd-sysv | 219-78.0.9.el7_9.7 |
| Oracle Linux 8 | systemd | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-container | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-devel | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-journal-remote | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-libs | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-pam | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-tests | 239-58.0.1.el8_6.4 |
| Oracle Linux 8 | systemd-udev | 239-58.0.1.el8_6.4 |
| rocky 8 | systemd | 239-58.el8_6.4 |
| rocky 8 | systemd-container | 239-58.el8_6.4 |
| rocky 8 | systemd-devel | 239-58.el8_6.4 |
| rocky 8 | systemd-journal-remote | 239-58.el8_6.4 |
| rocky 8 | systemd-libs | 239-58.el8_6.4 |
| rocky 8 | systemd-pam | 239-58.el8_6.4 |
| rocky 8 | systemd-tests | 239-58.el8_6.4 |
| rocky 8 | systemd-udev | 239-58.el8_6.4 |
| root.io debian 12 | rootio-systemd | 240-1 |
| root.io debian 13 | rootio-systemd | 240-1 |
| ubuntu 18.04 | systemd | 237-3ubuntu10.54 |
| ubuntu 18.04-ESM | systemd | 237-3ubuntu10.54 |
Referencias
- https://access.redhat.com/errata/RHSA-2022:6206
- https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-2526.json
- https://access.redhat.com/security/cve/CVE-2022-2526
- https://bugzilla.redhat.com/2109926
- https://errata.almalinux.org/8/ALSA-2022-6206.html
- https://github.com/systemd/systemd/commit/d973d94dec349fb676fdd844f6fe2ada3538f27c
- https://linux.oracle.com/cve/CVE-2022-2526.html
- https://linux.oracle.com/errata/ELSA-2022-6206.html