CVE Catalog

CVE-2022-3821

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.43%

36th percentile - higher than 36% of all known CVEs

Summary

An off-by-one error was discovered in systemd in the format_timespan() function of time-util.c. An attacker could supply specific values for time and accuracy, leading to a buffer overrun in format_timespan() and resulting in a denial of service.

Risk Assessment

An attacker can trigger a buffer overrun and denial of service, disrupting services that depend on systemd. This may cause unavailability of critical system services.

Recommendation

Update systemd to a version containing the fix for CVE-2022-3821. Restrict the ability to pass untrusted time and accuracy values to systemd formatting functions.

Other vulnerabilities in systemd

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS