CVE-2022-3821

Summary

CVECVE-2022-3821
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-11-08 22:15:16 UTC
Updated2026-10-14 14:17:27 UTC
DescriptionAn 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1ADPDECLARED5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS: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)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report