CVE-2022-3821
Summary
| CVE | CVE-2022-3821 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-11-08 22:15:16 UTC |
| Updated | 2026-10-14 14:17:27 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-193 | CWE-193 CWE-193 - Off-by-one Error
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | ADP | DECLARED | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Fedoraproject | Fedora | 35 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 8.0 | All | All | All |
| Operating System | Redhat | Enterprise Linux | 9.0 | All | All | All |
| Application | Systemd Project | Systemd | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Systemd | affected Fixed in systemd v252-rc1 | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| [SECURITY] Fedora 35 Update: systemd-249.13-6.fc35 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Buffer overrun in format_timespan · Issue #23928 · systemd/systemd · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Issue Tracking, Third Party Advisory |
| time-util: fix buffer-over-run · systemd/systemd@9102c62 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| systemd: Multiple Vulnerabilities (GLSA 202305-15) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | |
| time-util: fix buffer-over-run by yuwata · Pull Request #23933 · systemd/systemd · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch, Third Party Advisory |
| 2139327 – (CVE-2022-3821) CVE-2022-3821 systemd: buffer overrun in format_timespan() function. | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| [SECURITY] [DLA 3474-1] systemd security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | |
| [SECURITY] Fedora 35 Update: systemd-249.13-6.fc35 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160393 Oracle Enterprise Linux Security Update for systemd (ELSA-2023-0100)
- 160436 Oracle Enterprise Linux Security Update for systemd (ELSA-2023-0336)
- 183976 Debian Security Update for systemd (CVE-2022-3821)
- 199221 Ubuntu Security Notification for systemd Vulnerabilities (USN-5928-1)
- 241060 Red Hat Update for systemd (RHSA-2023:0100)
- 241105 Red Hat Update for systemd (RHSA-2023:0336)
- 243029 Red Hat Update for systemd (RHSA-2024:1105)
- 283326 Fedora Security Update for systemd (FEDORA-2022-8ac4104a02)
- 354127 Amazon Linux Security Advisory for systemd : ALAS2-2022-1899
- 378048 Alibaba Cloud Linux Security Update for systemd (ALINUX3-SA-2023:0025)
- 6000052 Debian Security Update for systemd (DLA 3474-1)
- 672486 EulerOS Security Update for systemd (EulerOS-SA-2023-1048)
- 672513 EulerOS Security Update for systemd (EulerOS-SA-2023-1023)
- 672536 EulerOS Security Update for systemd (EulerOS-SA-2023-1115)
- 672542 EulerOS Security Update for systemd (EulerOS-SA-2023-1139)
- 672586 EulerOS Security Update for systemd (EulerOS-SA-2023-1339)
- 672600 EulerOS Security Update for networkmanager (EulerOS-SA-2023-1329)
- 672620 EulerOS Security Update for systemd (EulerOS-SA-2023-1402)
- 672661 EulerOS Security Update for systemd (EulerOS-SA-2023-1374)
- 710708 Gentoo Linux systemd Multiple Vulnerabilities (GLSA 202305-15)
- 752804 SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:3999-1)
- 752897 SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:4056-1)
- 752955 SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:4279-1)
- 753894 SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2023:1776-1)
- 904487 Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11447)
- 904500 Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11443)
- 904626 Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11447-1)
- 904643 Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11443-1)
- 940878 AlmaLinux Security Update for systemd (ALSA-2023:0100)
- 940903 AlmaLinux Security Update for systemd (ALSA-2023:0336)
- 960634 Rocky Linux Security Update for systemd (RLSA-2023:0336)