CVE-2022-2526
systemd-resolved: use-after-free when dealing with DnsStream in resolved-dns-stream.c
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (élevée), AlmaLinux (élevée), Amazon (élevée), Oracle (élevée), Ubuntu (moyenne).
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| Photon OS 3.0 | systemd | 239-44.ph3 |
| alma 8 | systemd, systemd-container, systemd-devel et 5 autres | 239-58.el8_6.4 |
| amazon linux 2 | libgudev1, libgudev1-devel, systemd et 8 autres | 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 et 7 autres | 219-78.0.9.el7_9.7 |
| Oracle Linux 8 | systemd, systemd-container, systemd-devel et 5 autres | 239-58.0.1.el8_6.4 |
| rocky 8 | systemd, systemd-container, systemd-devel et 5 autres | 239-58.el8_6.4 |
| root.io debian 12 | rootio-systemd | 240-1 |
Afficher les 55 entrées de 15 sources
| Source | Paquet | Corrigé 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 |
Références
- 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