CVE-2022-3821
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.44% (higher than 40% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
systemdFixed in systemd v252-rc1CVE List
systemd_project systemdup to 251NVD
redhat enterprise_linux8.0, 9.0NVD
fedoraproject fedora35NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-193

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Se descubrió un problema de error de uno en uno en Systemd en la función format_timespan() de time-util.c. Un atacante podría proporcionar valores específicos de tiempo y precisión que provoquen una saturación del búfer en format_timespan(), lo que provocará una Denegación de Servicio (DoS).

References

Sources

SourceRecordLicence
CVE ListCVE-2022-3821 changed 2026-10-14CVE Terms of Use
NVDCVE-2022-3821 changed 2026-10-14Public domain