CVE-2022-3821
published medium CVSS 3.1 · 5.5systemd: buffer overrun in format_timespan() function
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | systemdFixed in systemd v252-rc1 | Affected | Not stated | redhat |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1899 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | systemd | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| Debian | buster | systemd | Advisory build | 241-7~deb10u10 | DLA-3474-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 8 | systemdaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemdaarch64 | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| SUSE / openSUSE | SLE-12-SP2 | systemdx86_64 | Advisory build | 228-150.108.2 | SUSE-SU-2023:1776-1 |
| Ubuntu | bionic | systemd | Advisory build | 237-3ubuntu10.57 | USN-5928-1 |
| AlmaLinux | 9 | systemd | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| Oracle Linux | 8 | systemdx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 9 | systemdaarch64 | Advisory build | 0:250-12.0.2.el9_1.1 | ELSA-2023-0336 |
| Oracle Linux | 9 | systemdx86_64 | Advisory build | 0:250-12.0.2.el9_1.1 | ELSA-2023-0336 |
| Red Hat Enterprise Linux | RHEL-8 | systemdaarch64 | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemdi686 | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| Red Hat Enterprise Linux | RHEL-8 | systemdi686 | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemdppc64le | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| Red Hat Enterprise Linux | RHEL-8 | systemdppc64le | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemds390x | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| Red Hat Enterprise Linux | RHEL-8 | systemds390x | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemdsrc | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| Red Hat Enterprise Linux | RHEL-8 | systemdsrc | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-8 | systemdx86_64 | Advisory build | 239-58.el8_6.13 | RHSA-2024:1105 |
| Red Hat Enterprise Linux | RHEL-8 | systemdx86_64 | Advisory build | 239-68.el8_7.1 | RHSA-2023:0100 |
| Red Hat Enterprise Linux | RHEL-9 | systemdaarch64 | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| Red Hat Enterprise Linux | RHEL-9 | systemdi686 | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| Red Hat Enterprise Linux | RHEL-9 | systemdppc64le | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| Red Hat Enterprise Linux | RHEL-9 | systemds390x | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| Red Hat Enterprise Linux | RHEL-9 | systemdsrc | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| Red Hat Enterprise Linux | RHEL-9 | systemdx86_64 | Advisory build | 250-12.el9_1.1 | RHSA-2023:0336 |
| SUSE / openSUSE | SLE-12-SP4 | systemdaarch64 | Advisory build | 228-150.108.2 | SUSE-SU-2023:1776-1 |
| SUSE / openSUSE | SLE-12-SP4 | systemdppc64le | Advisory build | 228-150.108.2 | SUSE-SU-2023:1776-1 |
| SUSE / openSUSE | SLE-12-SP4 | systemds390x | Advisory build | 228-150.108.2 | SUSE-SU-2023:1776-1 |
| SUSE / openSUSE | SLE-12-SP4 | systemdx86_64 | Advisory build | 228-150.108.2 | SUSE-SU-2023:1776-1 |
| SUSE / openSUSE | SLE-12-SP5 | systemdaarch64 | Advisory build | 228-157.43.2 | SUSE-SU-2022:4279-1 |
| SUSE / openSUSE | SLE-12-SP5 | systemdppc64le | Advisory build | 228-157.43.2 | SUSE-SU-2022:4279-1 |
| SUSE / openSUSE | SLE-12-SP5 | systemds390x | Advisory build | 228-157.43.2 | SUSE-SU-2022:4279-1 |
| SUSE / openSUSE | SLE-12-SP5 | systemdx86_64 | Advisory build | 228-157.43.2 | SUSE-SU-2022:4279-1 |
| SUSE / openSUSE | SLE-15-SP3 | systemdaarch64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-15-SP3 | systemdppc64le | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-15-SP3 | systemds390x | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-15-SP3 | systemdx86_64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-15-SP4 | systemdaarch64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-15-SP4 | systemdppc64le | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-15-SP4 | systemds390x | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-15-SP4 | systemdx86_64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-5 | systemdaarch64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-5 | systemdaarch64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-5 | systemds390x | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-5 | systemds390x | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | SLE-5 | systemdx86_64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | SLE-5 | systemdx86_64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | systemdaarch64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | systemdppc64le | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | systemds390x | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | systemdx86_64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | systemdaarch64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | systemdppc64le | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | systemds390x | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | systemdx86_64 | Advisory build | 249.12-150400.8.13.1 | SUSE-SU-2022:3999-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.2 | systemdaarch64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Leap-Micro-5.2 | systemdx86_64 | Advisory build | 246.16-150300.7.54.1 | SUSE-SU-2022:4056-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | systemdaarch64 | Advisory build | 254.5-3.1 | OPENSUSE-SU-2024:13366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | systemdppc64le | Advisory build | 254.5-3.1 | OPENSUSE-SU-2024:13366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | systemds390x | Advisory build | 254.5-3.1 | OPENSUSE-SU-2024:13366-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | systemdx86_64 | Advisory build | 254.5-3.1 | OPENSUSE-SU-2024:13366-1 |
| Ubuntu | esm | systemd | Advisory build | 204-5ubuntu20.31+esm2 | USN-5928-1 |
| Ubuntu | focal | systemd | Advisory build | 245.4-4ubuntu3.20 | USN-5928-1 |
| Ubuntu | jammy | systemd | Advisory build | 249.11-0ubuntu3.7 | USN-5928-1 |
| Ubuntu | xenial | systemd | Advisory build | 229-4ubuntu21.31+esm3 | USN-5928-1 |
| AlmaLinux | 8 | systemd-container | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-devel | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-journal-remote | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-libs | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-pam | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-tests | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 8 | systemd-udev | Advisory build | 239-68.el8_7.1 | ALSA-2023:0100 |
| AlmaLinux | 9 | systemd-container | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-devel | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-journal-remote | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-libs | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-oomd | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-pam | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-resolved | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-rpm-macros | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| AlmaLinux | 9 | systemd-udev | Advisory build | 250-12.el9_1.1 | ALSA-2023:0336 |
| Oracle Linux | 8 | systemd-containeraarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-containerx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-develaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-develx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-journal-remoteaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-journal-remotex86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-libsaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-libsx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-pamaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-pamx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-testsaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-testsx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-udevaarch64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 8 | systemd-udevx86_64 | Advisory build | 0:239-68.0.2.el8_7.1 | ELSA-2023-0100 |
| Oracle Linux | 9 | systemd-containeraarch64 | Advisory build | 0:250-12.0.2.el9_1.1 | ELSA-2023-0336 |
| Oracle Linux | 9 | systemd-containerx86_64 | Advisory build | 0:250-12.0.2.el9_1.1 | ELSA-2023-0336 |
| Oracle Linux | 9 | systemd-develaarch64 | Advisory build | 0:250-12.0.2.el9_1.1 | ELSA-2023-0336 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | systemd | Fixed in systemd v252-rc1 (affected) | redhat · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-193 CWE-193 - Off-by-one Error
References
8- https://bugzilla.redhat.com/show_bug.cgi?id=2139327
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
- https://github.com/systemd/systemd/issues/23928
- https://github.com/systemd/systemd/pull/23933
- [debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html
- FEDORA-2022-8ac4104a02 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/
- GLSA-202305-15 https://security.gentoo.org/glsa/202305-15
Provider assertions
4redhat · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 32e70a04e180ba8e6d3a30f919c4ee27ded30609f0318ec0f8a1fdb942f97116
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record