Off-by-one Error Affecting libgudev1 package, versions <0:219-78.amzn2.0.21


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.43% (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-AMZN2-LIBGUDEV1-3160218
  • published7 Dec 2022
  • disclosed8 Nov 2022

Introduced: 8 Nov 2022

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

How to fix?

Upgrade Amazon-Linux:2 libgudev1 to version 0:219-78.amzn2.0.21 or higher.
This issue was patched in ALAS2-2022-1899.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libgudev1 package and not the libgudev1 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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 Base Scores

version 3.1