CVEfocus › CVE database › CVE-2022-3821

CVE-2022-3821

CVSS 5.5 MediumEPSS 0.4% (higher than 28% of CVEs)Published 2022-11-08Updated 2026-10-14Assigner: redhat

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.

CWE-193

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

43Fixed
2Fix pending
10Will not fix
33Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04systemdFixed249.11-0ubuntu3.7UBUNTU-CVE-2022-3821
Ubuntu 20.04systemdFixed245.4-4ubuntu3.20UBUNTU-CVE-2022-3821
Ubuntu 18.04systemdFixed237-3ubuntu10.57UBUNTU-CVE-2022-3821
Ubuntu 16.04systemdFix pending229-4ubuntu21.31+esm3 (Ubuntu Pro)UBUNTU-CVE-2022-3821
Ubuntu 14.04systemdFix pending204-5ubuntu20.31+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-3821
Debian 14systemdFixed251.3-1DEBIAN-CVE-2022-3821
Debian 13systemdFixed251.3-1DEBIAN-CVE-2022-3821
Debian 12systemdFixed251.3-1DEBIAN-CVE-2022-3821
Red Hat Enterprise Linux 9systemdFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-containerFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-develFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-journal-remoteFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-libsFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-oomdFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-pamFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-resolvedFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-rpm-macrosFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 9systemd-udevFixed0:250-12.el9_1.1RHSA-2023:0336
Red Hat Enterprise Linux 8NetworkManagerNot affected
Red Hat Enterprise Linux 8NetworkManager-adslNot affected
Red Hat Enterprise Linux 8NetworkManager-bluetoothNot affected
Red Hat Enterprise Linux 8NetworkManager-cloud-setupNot affected
Red Hat Enterprise Linux 8NetworkManager-config-connectivity-redhatNot affected
Red Hat Enterprise Linux 8NetworkManager-config-serverNot affected
Red Hat Enterprise Linux 8NetworkManager-dispatcher-routing-rulesNot affected
Red Hat Enterprise Linux 8NetworkManager-initscripts-updownNot affected
Red Hat Enterprise Linux 8NetworkManager-libnmNot affected
Red Hat Enterprise Linux 8NetworkManager-libnm-develNot affected
Red Hat Enterprise Linux 8NetworkManager-ovsNot affected
Red Hat Enterprise Linux 8NetworkManager-pppNot affected
Red Hat Enterprise Linux 8NetworkManager-teamNot affected
Red Hat Enterprise Linux 8NetworkManager-tuiNot affected
Red Hat Enterprise Linux 8NetworkManager-wifiNot affected
Red Hat Enterprise Linux 8NetworkManager-wwanNot affected
Red Hat Enterprise Linux 8systemdFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-containerFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-develFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-journal-remoteFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-libsFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-pamFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-testsFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 8systemd-udevFixed0:239-68.el8_7.1RHSA-2023:0100
Red Hat Enterprise Linux 7NetworkManagerNot affected
Red Hat Enterprise Linux 7NetworkManager-adslNot affected
Red Hat Enterprise Linux 7NetworkManager-bluetoothNot affected
Red Hat Enterprise Linux 7NetworkManager-config-routing-rulesNot affected
Red Hat Enterprise Linux 7NetworkManager-config-serverNot affected
Red Hat Enterprise Linux 7NetworkManager-develNot affected
Red Hat Enterprise Linux 7NetworkManager-dispatcher-routing-rulesNot affected
Red Hat Enterprise Linux 7NetworkManager-glibNot affected
Red Hat Enterprise Linux 7NetworkManager-glib-develNot affected
Red Hat Enterprise Linux 7NetworkManager-libnmNot affected
Red Hat Enterprise Linux 7NetworkManager-libnm-develNot affected
Red Hat Enterprise Linux 7NetworkManager-ovsNot affected
Red Hat Enterprise Linux 7NetworkManager-pppNot affected
Red Hat Enterprise Linux 7NetworkManager-teamNot affected
Red Hat Enterprise Linux 7NetworkManager-tuiNot affected
Red Hat Enterprise Linux 7NetworkManager-wifiNot affected
Red Hat Enterprise Linux 7NetworkManager-wwanNot affected
Red Hat Enterprise Linux 7libgudev1Will not fix
Out of support scope
Red Hat Enterprise Linux 7libgudev1-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemdWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-journal-gatewayWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-networkdWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-pythonWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-resolvedWill not fix
Out of support scope
Red Hat Enterprise Linux 7systemd-sysvWill not fix
Out of support scope
AlmaLinux 9systemdFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-containerFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-develFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-journal-remoteFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-libsFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-oomdFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-pamFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-resolvedFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-rpm-macrosFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 9systemd-udevFixed250-12.el9_1.1ALSA-2023:0336
AlmaLinux 8systemdFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-containerFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-develFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-journal-remoteFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-libsFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-pamFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-testsFixed239-68.el8_7.1ALSA-2023:0100
AlmaLinux 8systemd-udevFixed239-68.el8_7.1ALSA-2023:0100
Rocky Linux 9systemdFixed0:250-12.el9_1.1RLSA-2023:0336

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.