Vulnerability · Published Nov 8, 2022 · Assigned by redhat

CVE-2022-3821

Medium 5.5

In plain English

A medium-severity security flaw in systemd. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.4%top 61.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8systemd239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-container239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-container250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-devel239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-devel250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-journal-remote239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-journal-remote250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-libs239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-libs250-12.el9_1.1ALSA-2023:0336
AlmaLinux:9systemd-oomd250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-pam239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-pam250-12.el9_1.1ALSA-2023:0336
AlmaLinux:9systemd-resolved250-12.el9_1.1ALSA-2023:0336
AlmaLinux:9systemd-rpm-macros250-12.el9_1.1ALSA-2023:0336
AlmaLinux:8systemd-tests239-68.el8_7.1ALSA-2023:0100
AlmaLinux:8systemd-udev239-68.el8_7.1ALSA-2023:0100
AlmaLinux:9systemd-udev250-12.el9_1.1ALSA-2023:0336
Debian:12systemd251.3-1DEBIAN-CVE-2022-3821
Debian:13systemd251.3-1DEBIAN-CVE-2022-3821
Debian:14systemd251.3-1DEBIAN-CVE-2022-3821
Rocky Linux:9systemd0:250-12.el9_1.1RLSA-2023:0336
Ubuntu:22.04:LTSsystemd249.11-0ubuntu3.7USN-5928-1
Ubuntu:22.04:LTSsystemd249.11-0ubuntu3.7UBUNTU-CVE-2022-3821

Affected products (as reported)

VendorProductVersions
n/a systemd Fixed in systemd v252-rc1

Weakness: CWE-193 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References