{"id":"CVE-2022-3821","state":"PUBLISHED","title":"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 buffe","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.","publishedAt":"2022-11-08T00:00:00.000Z","updatedAt":"2026-10-14T13:51:55.858Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"redhat","products":["n/a systemd"],"affected":[{"vendor":"n/a","product":"systemd","versions":[{"version":"Fixed in systemd v252-rc1","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=2139327","https://github.com/systemd/systemd/issues/23928","https://github.com/systemd/systemd/pull/23933","https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","https://security.gentoo.org/glsa/202305-15","https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-193"],"ingestedAt":"2026-10-29T19:50:32.060Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/3xxx/CVE-2022-3821.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-3821","state":"PUBLISHED","datePublished":"2022-11-08T00:00:00.000Z","dateUpdated":"2026-10-14T13:51:55.858Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2022-11-02T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"n/a","product":"systemd","versions":[{"version":"Fixed in systemd v252-rc1","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327"},{"url":"https://github.com/systemd/systemd/issues/23928"},{"url":"https://github.com/systemd/systemd/pull/23933"},{"url":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","name":"FEDORA-2022-8ac4104a02","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-15","name":"GLSA-202305-15","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html","name":"[debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update","tags":["mailing-list"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-193","type":"CWE","lang":"en","description":"CWE-193 - Off-by-one Error"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-06-29T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2139327","tags":["x_transferred"]},{"url":"https://github.com/systemd/systemd/issues/23928","tags":["x_transferred"]},{"url":"https://github.com/systemd/systemd/pull/23933","tags":["x_transferred"]},{"url":"https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/","name":"FEDORA-2022-8ac4104a02","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202305-15","name":"GLSA-202305-15","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html","name":"[debian-lts-announce] 20230629 [SECURITY] [DLA 3474-1] systemd security update","tags":["mailing-list","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:20:58.329Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-02T18:10:56.621902Z","id":"CVE-2022-3821","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-02T18:12:20.028Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T13:51:55.858Z"},"x_adpType":"supplier"}]}}}