Skip to content
Fencer Vulns
medium 5.5

CVE-2022-3821 json

An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c.

published 2022-11-08 4 y ago modified 2026-10-14 26 d ago also EUVD-2022-43162

cvss
5.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 38%
public exploits
0
none known

Summary

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.

Patch / fix

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
  • systemd Debian 14, Debian 13, Debian 12 251.3-1

debian advisories DEBIAN-CVE-2022-3821

  • systemd Ubuntu 18.04 LTS 237-3ubuntu10.57
  • systemd Ubuntu 20.04 LTS 245.4-4ubuntu3.20
  • systemd Ubuntu 22.04 LTS 249.11-0ubuntu3.7
  • systemd Ubuntu Pro 14.04 LTS 204-5ubuntu20.31+esm2
  • systemd Ubuntu Pro 16.04 LTS 229-4ubuntu21.31+esm3

ubuntu advisories UBUNTU-CVE-2022-3821

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • systemd RHEL 9 250-12.el9_1.1
  • systemd-pam RHEL 9 250-12.el9_1.1
  • systemd-libs RHEL 9 250-12.el9_1.1
  • systemd-oomd RHEL 9 250-12.el9_1.1
  • systemd-udev RHEL 9 250-12.el9_1.1
  • systemd-resolved RHEL 9 250-12.el9_1.1
  • systemd-container RHEL 9 250-12.el9_1.1
  • systemd-rpm-macros RHEL 9 250-12.el9_1.1

red hat advisories RHSA-2024:1105RHSA-2023:0336RHSA-2023:0100

  • systemd Linux Micro 6.0 254.18-1.1
  • systemd SLES for SAP 12 SP4, SLES 12 SP4-LTSS, SLES 12 SP4-ESPOS +3 more 228-150.108.2
  • systemd SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 228-157.43.2
  • systemd SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +3 more 246.16-150300.7.54.1
  • systemd SLE Module for Basesystem 15 SP4, SLE Micro 5.3, openSUSE Leap 15.4 249.12-150400.8.13.1

suse advisories SUSE-SU-2025:20041-1SUSE-SU-2023:1776-1SUSE-SU-2022:4279-1SUSE-SU-2022:4056-1SUSE-SU-2022:3999-1

  • systemd openSUSE Tumbleweed 254.5-3.1

opensuse advisories openSUSE-SU-2024:13366-1

  • systemd AlmaLinux 9 250-12.el9_1.1
  • systemd-pam AlmaLinux 9 250-12.el9_1.1
  • systemd-libs AlmaLinux 9 250-12.el9_1.1
  • systemd-oomd AlmaLinux 9 250-12.el9_1.1
  • systemd-udev AlmaLinux 9 250-12.el9_1.1
  • systemd-resolved AlmaLinux 9 250-12.el9_1.1
  • systemd-container AlmaLinux 9 250-12.el9_1.1
  • systemd-rpm-macros AlmaLinux 9 250-12.el9_1.1

almalinux advisories ALSA-2023:0336ALSA-2023:0100

  • systemd Rocky Linux 9 250-12.el9_1.1

rocky linux advisories RLSA-2023:0336

  • systemd CBL-Mariner 2.0 250.3-10
  • systemd-bootstrap Azure Linux 3.0 250.3-17

azure linux advisories AZL-11443AZL-41659

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-3821 updated cvss 5.5

systemd: buffer overrun in format_timespan() function

  • Red Hat Enterprise Linux 7 systemd, libgudev1, systemd-libs, systemd-sysv, systemd-python, systemd-networkd, +2 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 9) systemd-journal-remote 250-12.el9_1.1
    fixed: vendor fix RHSA-2023:0336
  • Red Hat Enterprise Linux BaseOS (v. 8) systemd 239-68.el8_7.1, systemd-pam 239-68.el8_7.1, systemd-libs 239-68.el8_7.1, systemd-udev 239-68.el8_7.1, systemd-tests 239-68.el8_7.1, systemd-container 239-68.el8_7.1, +1 more
    fixed: vendor fix RHSA-2023:0100
  • Red Hat Enterprise Linux BaseOS (v. 9) systemd 250-12.el9_1.1, systemd-pam 250-12.el9_1.1, systemd-libs 250-12.el9_1.1, systemd-oomd 250-12.el9_1.1, systemd-udev 250-12.el9_1.1, systemd-resolved 250-12.el9_1.1, +2 more
    fixed: vendor fix RHSA-2023:0336
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) systemd 239-58.el8_6.13, systemd-pam 239-58.el8_6.13, systemd-libs 239-58.el8_6.13, systemd-udev 239-58.el8_6.13, systemd-tests 239-58.el8_6.13, systemd-container 239-58.el8_6.13, +1 more
    fixed: vendor fix RHSA-2024:1105
  • Red Hat Enterprise Linux 7 NetworkManager, NetworkManager-ovs, NetworkManager-ppp, NetworkManager-tui, NetworkManager-adsl, NetworkManager-glib, +8 more Red Hat Enterprise Linux 8 NetworkManager, NetworkManager-ovs, NetworkManager-ppp, NetworkManager-tui, NetworkManager-adsl, NetworkManager-team, +9 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-23-348-10 updated cvss 5.5

Siemens SIMATIC S7-1500

  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5
    affected: fixed in V3.1.5, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.44% chance of exploitation in the next 30 days, higher than 38% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/systemd/systemd/issues/23928 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

  • n/a systemd
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.