QID 355284

Date Published: 2023-05-29

QID 355284: Amazon Linux Security Advisory for systemd : ALAS2023-2023-025

A flaw was found in systemd.
An uncontrolled recursion in systemd-tmpfiles may lead to a denial of service at boot time when too many nested directories are created in /tmp. (
( CVE-2021-3997) a vulnerability was found in systemd.
This security flaw can cause a local information leak due to systemd-coredump not respecting the fs.suid_dumpable kernel setting. (
( CVE-2022-4415) 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. (
( CVE-2022-45873)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 5.5 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2023-025 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 355284

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2023-025 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2023-025.html