Arbitrary Command Injection Affecting sssd-libwbclient-devel package, versions <0:1.16.4-21.26.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.49% (76th 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 Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-SSSDLIBWBCLIENTDEVEL-1727861
  • published5 Oct 2021
  • disclosed23 Dec 2021

Introduced: 5 Oct 2021

CVE-2021-3621  (opens in a new tab)
CWE-77  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 sssd-libwbclient-devel to version 0:1.16.4-21.26.amzn1 or higher.
This issue was patched in ALAS-2021-1542.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sssd-libwbclient-devel package and not the sssd-libwbclient-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

A flaw was found in SSSD, where the sssctl command was vulnerable to shell command injection via the logs-fetch and cache-expire subcommands. This flaw allows an attacker to trick the root user into running a specially crafted sssctl command, such as via sudo, to gain root access. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

CVSS Scores

version 3.1