Off-by-one Error Affecting systemd-rpm-macros package, versions <0:250-12.el9_1.1


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

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-RHEL9-SYSTEMDRPMMACROS-5579507
  • published2 Nov 2022
  • disclosed8 Jul 2022

Introduced: 8 Jul 2022

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

How to fix?

Upgrade RHEL:9 systemd-rpm-macros to version 0:250-12.el9_1.1 or higher.
This issue was patched in RHSA-2023:0336.

NVD Description

Note: Versions mentioned in the description apply only to the upstream systemd-rpm-macros package and not the systemd-rpm-macros package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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.

CVSS Scores

version 3.1