First published: Wed Nov 02 2022(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
Systemd Project Systemd | <=251 | |
Redhat Enterprise Linux | =8.0 | |
Redhat Enterprise Linux | =9.0 | |
Fedoraproject Fedora | =35 | |
redhat/systemd | <251 | 251 |
redhat/systemd | <252 | 252 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-3821 is an off-by-one Error issue discovered in Systemd in the format_timespan() function of time-util.c.
The severity of CVE-2022-3821 is medium with a CVSS score of 5.5.
CVE-2022-3821 affects Systemd versions up to and including 251.
An attacker can exploit CVE-2022-3821 by supplying specific values for time and accuracy that lead to a buffer overrun in the format_timespan() function, leading to a Denial of Service.
You can find more information about CVE-2022-3821 on the following references: [1] https://bugzilla.redhat.com/show_bug.cgi?id=2139327 [2] https://github.com/systemd/systemd/commit/9102c625a673a3246d7e73d8737f3494446bad4e [3] https://github.com/systemd/systemd/issues/23928