Skip to content
OpenAdvisories
Medium · 5.5 CVE-2022-3821 EUVD-2022-43162GHSA-cwpv-5v9v-5797

An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c. An attacker could supply specific values …

Published Nov 8, 2022 · Updated Oct 14, 2026 · Assigned by redhat

Description

An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c. An attacker could supply specific values for time and accuracy that leads to buffer overrun in format_timespan(), leading to a Denial of Service.

Affected products

VendorProductAffectedFixed
— systemd Fixed in systemd v252-rc1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 systemd 251.3-1 —
Debian 13 systemd 251.3-1 —
Debian 12 systemd 251.3-1 —
Debian 10 systemd 241-7~deb10u10 DLA-3474-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS systemd 249.11-0ubuntu3.7 USN-5928-1
Ubuntu 20.04 LTS systemd 245.4-4ubuntu3.20 USN-5928-1
Ubuntu 18.04 LTS systemd 237-3ubuntu10.57 USN-5928-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS systemd 229-4ubuntu21.31+esm3 USN-5928-1
Ubuntu Pro 14.04 LTS systemd 204-5ubuntu20.31+esm2 USN-5928-1
ReleasePackageFixed inAdvisory
RHEL 9 systemd +9 250-12.el9_1.1 RHSA-2023:0336
RHEL 8 systemd +7 239-68.el8_7.1 RHSA-2023:0100
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS systemd +7 239-58.el8_6.13 RHSA-2024:1105

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 systemd +9 250-12.el9_1.1 ALSA-2023:0336
AlmaLinux 8 systemd +7 239-68.el8_7.1 ALSA-2023:0100

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 systemd 250-12.el9_1.1 RLSA-2023:0336
ReleasePackageFixed inAdvisory
SLES 15 SP4 systemd 249.12-150400.8.13.1 SUSE-SU-2022:3999-1
SLES 15 SP3 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1
SLES 12 SP5 systemd 228-157.43.2 SUSE-SU-2022:4279-1
SLES 12 SP4 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SLES 12 SP2 systemd 228-150.108.2 SUSE-SU-2023:1776-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 systemd 228-157.43.2 SUSE-SU-2022:4279-1
SLES for SAP 12 SP4 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SLE Micro 6.0 systemd 254.18-1.1 SUSE-SU-2025:20041-1
SLE Micro 5.3 systemd 249.12-150400.8.13.1 SUSE-SU-2022:3999-1
SLE Micro 5.2 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1
SLE Micro 5.1 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1
SUSE OpenStack Cloud Crowbar 9 systemd 228-150.108.2 SUSE-SU-2023:1776-1
SUSE OpenStack Cloud 9 systemd 228-150.108.2 SUSE-SU-2023:1776-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed systemd 254.5-3.1 openSUSE-SU-2024:13366-1
openSUSE Leap 15.4 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1, SUSE-SU-2022:3999-1
openSUSE Leap 15.3 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.2 systemd 246.16-150300.7.54.1 SUSE-SU-2022:4056-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 systemd +9 219-78.amzn2.0.21 ALAS2-2022-1899

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 systemd-bootstrap 250.3-17 —
Azure Linux 2 (CBL-Mariner) systemd 250.3-10 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 systemd +9 250-12.0.2.el9_1.1 ELSA-2023-0336
Oracle Linux 8 systemd +7 239-68.0.2.el8_7.1 ELSA-2023-0100

Advisories 22

References