Off-by-one Error in Systemd's format_timespan() Function Leads to Denial of Service Vulnerability

Off-by-one Error in Systemd's format_timespan() Function Leads to Denial of Service Vulnerability

CVE-2022-3821 · MEDIUM Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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.

Learn more about our Web Application Penetration Testing UK.