OS Command Injection Affecting python-libsss_nss_idmap package, versions <0:1.16.5-10.amzn2.10


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
2.63% (86th 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-PYTHONLIBSSSNSSIDMAP-1729162
  • published7 Oct 2021
  • disclosed23 Dec 2021

Introduced: 7 Oct 2021

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

How to fix?

Upgrade Amazon-Linux:2 python-libsss_nss_idmap to version 0:1.16.5-10.amzn2.10 or higher.
This issue was patched in ALAS2-2021-1715.

NVD Description

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

version 3.1