Arbitrary Command Execution Affecting util-linux package, versions [,2.27-rc1)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.03% (9th 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 Learn

Learn about Arbitrary Command Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-UTILLINUX-5903071
  • published15 Sept 2023
  • disclosed22 Aug 2023
  • creditmsiddiqu

Introduced: 22 Aug 2023

CVE-2020-21583  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade util-linux to version 2.27-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Execution due to insufficient checks in the hwclock.c file, which allows attackers to gain escalated privileges via the path parameter when setting the date.

CVSS Base Scores

version 3.1