medium5.5
CVE-2022-3821
An off-by-one Error issue was discovered in Systemd in format_timespan() function of time-util.c.
Impact
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 products
| Vendor | Product | Affected versions |
|---|---|---|
| Systemd Project | Systemd | through 251 |
| Redhat | Enterprise Linux | Versions 8.0, 9.0 |
| Fedoraproject | Fedora | Version 35 |
Weakness classification
References
- NVD record
- CVE.org record
- https://bugzilla.redhat.com/show_bug.cgi?id=2139327
- https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e
- https://github.com/systemd/systemd/issues/23928
- https://github.com/systemd/systemd/pull/23933
- https://lists.debian.org/debian-lts-announce/2023/06/msg00036.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/RVBQC2VLSDVQAPJTEMTREXDL4HYLXG2P/
- https://security.gentoo.org/glsa/202305-15
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html