Deadlock Affecting systemd-standalone-tmpfiles-debuginfo package, versions <0:252.4-1161.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (3rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-SYSTEMDSTANDALONETMPFILESDEBUGINFO-3340566
  • published6 Mar 2023
  • disclosed23 Nov 2022

Introduced: 23 Nov 2022

CVE-2022-45873  (opens in a new tab)
CWE-833  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 systemd-standalone-tmpfiles-debuginfo to version 0:252.4-1161.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2023-025.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-standalone-tmpfiles-debuginfo package and not the systemd-standalone-tmpfiles-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1