{"id":"CVE-2022-3821","aliases":["CVE-2022-3821"],"related":[],"kind":"vulnerability","state":"published","title":"An off-by-one Error issue was discovered in Systemd in formattimespan() function of time-util.c.","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"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).","source":"nvd"}],"published":"2022-11-08T00:00:00.000Z","modified":"2026-10-14T14:17:27.680Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-193"],"affected":[{"ranges":[{"version":"Fixed in systemd v252-rc1","status":"affected"}],"product":"systemd","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"251"}],"vendor":"systemd_project","product":"systemd","cpe":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"35"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/systemd/systemd/issues/23928","tags":["exploit","issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/systemd/systemd/pull/23933","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","tags":["patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202305-15","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-05-02T18:10:56.621Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-3821","url":"https://www.cve.org/CVERecord?id=CVE-2022-3821","licence":"CVE Terms of Use","modified":"2026-10-14T13:51:55.858Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-3821","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3821","licence":"Public domain","modified":"2026-10-14T14:17:27.680Z"}],"updatedAt":"2026-11-25T22:58:16.305Z","epss":{"score":0.00443,"percentile":0.40256,"date":"2026-12-01T12:00:22.000Z"}}