Off-by-one Error Affecting systemd/systemd package, versions [,252)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.08% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-SYSTEMDSYSTEMD-3110696
  • published9 Nov 2022
  • disclosed9 Nov 2022
  • creditYiyuaner

Introduced: 9 Nov 2022

CVE-2022-3821  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade systemd/systemd to version 252 or higher.

Overview

Affected versions of this package are vulnerable to Off-by-one Error in Systemd in format_timespan() function of time-util.c file. An attacker could supply specific values for time and accuracy that leads to buffer overrun in format_timespan().

CVSS Scores

version 3.1