An off-by-one Error issue was discovered in Systemd in format_timespan() function of…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 4 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-193 and the CVSS impact.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | systemd | Fixed in systemd v252-rc1 | — | No fix listed | CNA |
- systemd Vendor— Affected Fixed in systemd v252-rc1 Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:* | up to 251 | Vulnerable | systemd |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 35 | Vulnerable | Fedoraproject |
- cpe:2.3:a:systemd_project:systemd:*:*:*:*:*:*:*:* Versions up to 251 Vulnerable ·systemd
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
Remediation
Red Hat 3 advisories
- RHSA-2024:1105 Released 2024-03-05 · Red Hat rating Moderatesystemd security update
- Red Hat Enterprise Linux BaseOS EUS (v.8.6) systemd-239-58.el8_6.13, systemd-container-239-58.el8_6.13, systemd-devel-239-58.el8_6.13 +5
- RHSA-2023:0336 Released 2023-01-23 · Red Hat rating Moderatesystemd security update
- Red Hat Enterprise Linux AppStream (v. 9) systemd-devel-250-12.el9_1.1, systemd-journal-remote-250-12.el9_1.1
- Red Hat Enterprise Linux BaseOS (v. 9) systemd-250-12.el9_1.1, systemd-container-250-12.el9_1.1, systemd-libs-250-12.el9_1.1 +5
- RHSA-2023:0100 Released 2023-01-12 · Red Hat rating Moderatesystemd security and bug fix update
- Red Hat Enterprise Linux BaseOS (v. 8) systemd-239-68.el8_7.1, systemd-container-239-68.el8_7.1, systemd-devel-239-68.el8_7.1 +5
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2023:0336 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2023:0100 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2023:0336 |
| Red Hat Enterprise Linux BaseOS EUS (v.8.6) | Fixed | RHSA-2024:1105 |
Not affected: 2 products
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Timeline
- 2026-10-02 Threatist record created from CVE-2022-3821
- 2026-10-03 Alias added: GHSA-cwpv-5v9v-5797
References
Patch 2
Sources
- CVE-2022-3821 · CVE Program
- CVE-2022-3821 · NVD
- FIRST EPSS
- GHSA-cwpv-5v9v-5797 · GitHub Advisory Database · CC BY 4.0
- CVE-2022-3821 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences