Medium severity · published Nov 8, 2022
CVE-2022-3821
An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c
5.5
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SY
systemd ·
Fixed in systemd v252-rc1 · source: vendor, NVD
EL
Enterprise Linux · Redhat
8.0; 9.0 · source: NVD
FE
Fedora · Fedoraproject
35 · source: NVD
SS
SIMATIC S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5; V3.1.0 before V3.1.5 · source: CISA
SS
SIPLUS S7-1500 CPU 1518-4 PN/DP MFP · Siemens
V3.1.0 before V3.1.5 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-3821
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-3821
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2139327
Patch
https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
Exploit
https://github.com/systemd/systemd/issues/23928
Patch
https://github.com/systemd/systemd/pull/23933
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/
More from systemd
6.1
CVE-2020-13529
An exploitable denial-of-service vulnerability exists in Systemd 245
5.5
CVE-2021-3997
A flaw was found in systemd
