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 package | Versions | Reported by |
|---|---|---|
| systemd | Fixed in systemd v252-rc1 | CVE List |
| systemd_project systemd | up to 251 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
| fedoraproject fedora | 35 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
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
| https://bugzilla.redhat.com/show_bug.cgi?id=2139327 | issue-tracking, third-party-advisory | |
| https://github.com/systemd/systemd/issues/23928 | exploit, issue-tracking, third-party-advisory | |
| https://github.com/systemd/systemd/pull/23933 | patch, third-party-advisory | |
| https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e | patch, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202305-15 | vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html | mailing-list | |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-3821 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2022-3821 changed 2026-10-14 | Public domain |