Resource exhaustion in Systemd Project
CVE-2022-45873
systemd 250 and 251 allows local users to achieve a systemd-coredump deadlock by triggering a crash that has a long backtrace. This occurs in parse_elf_object in shared/elf-util.c. The exploitation methodology is to crash a binary calling the same function recursively, and put it in a deeply nested directory to make its backtrace large enough to cause the deadlock. This must be done 16 times when MaxConnections=16 is set for the systemd/units/systemd-coredump.socket file.
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 19.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Systemd Project — versions 252
- Fedoraproject Fedora — versions 36
Weakness classification (CWE)
References
- github.com/systemd/systemd/commit/076b807be472630692c5348c60d0c2b7b28ad437 (Patch, Third Party Advisory)
- github.com/systemd/systemd/pull/25055 (Patch, Third Party Advisory, Issue Tracking)
- github.com/systemd/systemd/pull/24853 (Patch, Third Party Advisory, Issue Tracking)
- FEDORA-2022-ef4f57b072 (vendor-advisory)
- cert-portal.siemens.com/productcert/html/ssa-398330.html