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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | systemd | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-container | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-container | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-devel | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-devel | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-journal-remote | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-journal-remote | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-libs | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-libs | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:9 | systemd-oomd | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-pam | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-pam | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:9 | systemd-resolved | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:9 | systemd-rpm-macros | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux:8 | systemd-tests | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:8 | systemd-udev | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux:9 | systemd-udev | 250-12.el9_1.1 | ALSA-2023:0336 |
| Debian:12 | systemd | 251.3-1 | DEBIAN-CVE-2022-3821 |
| Debian:13 | systemd | 251.3-1 | DEBIAN-CVE-2022-3821 |
| Debian:14 | systemd | 251.3-1 | DEBIAN-CVE-2022-3821 |
| Rocky Linux:9 | systemd | 0:250-12.el9_1.1 | RLSA-2023:0336 |
| Ubuntu:22.04:LTS | systemd | 249.11-0ubuntu3.7 | USN-5928-1 |
| Ubuntu:22.04:LTS | systemd | 249.11-0ubuntu3.7 | UBUNTU-CVE-2022-3821 |
Affected products (as reported)
Weakness: CWE-193 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2139327
- https://github.com/systemd/systemd/issues/23928
- https://github.com/systemd/systemd/pull/23933
- https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
- FEDORA-2022-8ac4104a02 vendor-advisory
- GLSA-202305-15 vendor-advisory
- [debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html