Arbitrary Command Injection Affecting libsss_nss_idmap package, versions <0:1.16.5-10.el7_9.10


Severity

Recommended
high

Based on Red Hat Enterprise 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-RHEL7-LIBSSSNSSIDMAP-7976132
  • published14 Sept 2024
  • disclosed16 Aug 2021

Introduced: 16 Aug 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 RHEL:7 libsss_nss_idmap to version 0:1.16.5-10.el7_9.10 or higher.
This issue was patched in RHSA-2021:3336.

NVD Description

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