{"api_version":"1","generated_at":"2026-04-22T23:31:01+00:00","cve":"CVE-2022-3821","urls":{"html":"https://cve.report/CVE-2022-3821","api":"https://cve.report/api/cve/CVE-2022-3821.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-3821","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-3821"},"summary":{"title":"CVE-2022-3821","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2022-11-08 22:15:00","updated_at":"2023-11-07 03:51:00"},"problem_types":["CWE-193"],"metrics":[],"references":[{"url":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","name":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","refsource":"MISC","tags":[],"title":"time-util: fix buffer-over-run · systemd/systemd@9102c62 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/systemd/systemd/pull/23933","name":"https://github.com/systemd/systemd/pull/23933","refsource":"MISC","tags":[],"title":"time-util: fix buffer-over-run by yuwata · Pull Request #23933 · systemd/systemd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202305-15","name":"GLSA-202305-15","refsource":"GENTOO","tags":[],"title":"systemd: Multiple Vulnerabilities (GLSA 202305-15) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327","refsource":"MISC","tags":[],"title":"2139327 – (CVE-2022-3821) CVE-2022-3821 systemd: buffer overrun in format_timespan() function.","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html","name":"[debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 3474-1] systemd security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/systemd/systemd/issues/23928","name":"https://github.com/systemd/systemd/issues/23928","refsource":"MISC","tags":[],"title":"Buffer overrun in format_timespan · Issue #23928 · systemd/systemd · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","name":"FEDORA-2022-8ac4104a02","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 35 Update: systemd-249.13-6.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","name":"FEDORA-2022-8ac4104a02","refsource":"","tags":[],"title":"[SECURITY] Fedora 35 Update: systemd-249.13-6.fc35 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-3821","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3821","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"3821","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"35","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3821","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3821","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"3821","vulnerable":"1","versionEndIncluding":"251","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"systemd_project","cpe5":"systemd","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-3821","qid":"160393","title":"Oracle Enterprise Linux Security Update for systemd (ELSA-2023-0100)"},{"cve":"CVE-2022-3821","qid":"160436","title":"Oracle Enterprise Linux Security Update for systemd (ELSA-2023-0336)"},{"cve":"CVE-2022-3821","qid":"183976","title":"Debian Security Update for systemd (CVE-2022-3821)"},{"cve":"CVE-2022-3821","qid":"199221","title":"Ubuntu Security Notification for systemd Vulnerabilities (USN-5928-1)"},{"cve":"CVE-2022-3821","qid":"241060","title":"Red Hat Update for systemd (RHSA-2023:0100)"},{"cve":"CVE-2022-3821","qid":"241105","title":"Red Hat Update for systemd (RHSA-2023:0336)"},{"cve":"CVE-2022-3821","qid":"243029","title":"Red Hat Update for systemd (RHSA-2024:1105)"},{"cve":"CVE-2022-3821","qid":"283326","title":"Fedora Security Update for systemd (FEDORA-2022-8ac4104a02)"},{"cve":"CVE-2022-3821","qid":"354127","title":"Amazon Linux Security Advisory for systemd : ALAS2-2022-1899"},{"cve":"CVE-2022-3821","qid":"378048","title":"Alibaba Cloud Linux Security Update for systemd (ALINUX3-SA-2023:0025)"},{"cve":"CVE-2022-3821","qid":"6000052","title":"Debian Security Update for systemd (DLA 3474-1)"},{"cve":"CVE-2022-3821","qid":"672486","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1048)"},{"cve":"CVE-2022-3821","qid":"672513","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1023)"},{"cve":"CVE-2022-3821","qid":"672536","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1115)"},{"cve":"CVE-2022-3821","qid":"672542","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1139)"},{"cve":"CVE-2022-3821","qid":"672586","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1339)"},{"cve":"CVE-2022-3821","qid":"672600","title":"EulerOS Security Update for networkmanager (EulerOS-SA-2023-1329)"},{"cve":"CVE-2022-3821","qid":"672620","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1402)"},{"cve":"CVE-2022-3821","qid":"672661","title":"EulerOS Security Update for systemd (EulerOS-SA-2023-1374)"},{"cve":"CVE-2022-3821","qid":"710708","title":"Gentoo Linux systemd Multiple Vulnerabilities (GLSA 202305-15)"},{"cve":"CVE-2022-3821","qid":"752804","title":"SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:3999-1)"},{"cve":"CVE-2022-3821","qid":"752897","title":"SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:4056-1)"},{"cve":"CVE-2022-3821","qid":"752955","title":"SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2022:4279-1)"},{"cve":"CVE-2022-3821","qid":"753894","title":"SUSE Enterprise Linux Security Update for systemd (SUSE-SU-2023:1776-1)"},{"cve":"CVE-2022-3821","qid":"904487","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11447)"},{"cve":"CVE-2022-3821","qid":"904500","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11443)"},{"cve":"CVE-2022-3821","qid":"904626","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11447-1)"},{"cve":"CVE-2022-3821","qid":"904643","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for systemd (11443-1)"},{"cve":"CVE-2022-3821","qid":"940878","title":"AlmaLinux Security Update for systemd (ALSA-2023:0100)"},{"cve":"CVE-2022-3821","qid":"940903","title":"AlmaLinux Security Update for systemd (ALSA-2023:0336)"},{"cve":"CVE-2022-3821","qid":"960634","title":"Rocky Linux Security Update for systemd (RLSA-2023:0336)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2022-3821","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"systemd","version":{"version_data":[{"version_value":"Fixed in systemd v252-rc1"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-193 - Off-by-one Error"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327"},{"refsource":"MISC","name":"https://github.com/systemd/systemd/issues/23928","url":"https://github.com/systemd/systemd/issues/23928"},{"refsource":"MISC","name":"https://github.com/systemd/systemd/pull/23933","url":"https://github.com/systemd/systemd/pull/23933"},{"refsource":"MISC","name":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","url":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e"},{"refsource":"FEDORA","name":"FEDORA-2022-8ac4104a02","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/"},{"refsource":"GENTOO","name":"GLSA-202305-15","url":"https://security.gentoo.org/glsa/202305-15"},{"refsource":"MLIST","name":"[debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update","url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html"}]},"description":{"description_data":[{"lang":"eng","value":"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":{"publishedDate":"2022-11-08 22:15:00","lastModifiedDate":"2023-11-07 03:51:00","problem_types":["CWE-193"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:*","versionEndIncluding":"251","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}