UBUNTU-CVE-2021-3621

Source
https://ubuntu.com/security/CVE-2021-3621
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3621.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-3621
Related
Published
2021-08-16T00:00:00Z
Modified
2021-08-16T00:00:00Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:18.04:LTS / sssd

Package

Name
sssd
Purl
pkg:deb/ubuntu/sssd?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.16.1-1ubuntu1.8

Affected versions

1.*

1.15.3-2ubuntu1
1.15.3-3ubuntu1
1.16.0-5ubuntu1
1.16.0-5ubuntu2
1.16.1-1ubuntu1
1.16.1-1ubuntu1.1
1.16.1-1ubuntu1.2
1.16.1-1ubuntu1.3
1.16.1-1ubuntu1.4
1.16.1-1ubuntu1.5
1.16.1-1ubuntu1.6
1.16.1-1ubuntu1.7

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libipa-hbac-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libipa-hbac0"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libipa-hbac0-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libnss-sss"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libnss-sss-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libpam-sss"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libpam-sss-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-certmap-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-certmap0"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-certmap0-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-idmap-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-idmap0"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-idmap0-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-nss-idmap-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-nss-idmap0"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-nss-idmap0-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-simpleifp-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-simpleifp0"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-simpleifp0-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-sudo"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libsss-sudo-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libwbclient-sssd"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libwbclient-sssd-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "libwbclient-sssd-dev"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-libipa-hbac"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-libipa-hbac-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-libsss-nss-idmap"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-libsss-nss-idmap-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-sss"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python-sss-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-libipa-hbac"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-libipa-hbac-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-libsss-nss-idmap"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-libsss-nss-idmap-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-sss"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "python3-sss-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ad"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ad-common"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ad-common-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ad-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-common"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-common-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-dbus"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-dbus-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ipa"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ipa-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-kcm"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-kcm-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-krb5"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-krb5-common"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-krb5-common-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-krb5-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ldap"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-ldap-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-proxy"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-proxy-dbgsym"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-tools"
        },
        {
            "binary_version": "1.16.1-1ubuntu1.8",
            "binary_name": "sssd-tools-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / sssd

Package

Name
sssd
Purl
pkg:deb/ubuntu/sssd?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.2.3-3ubuntu0.7

Affected versions

2.*

2.2.0-4ubuntu1
2.2.2-1
2.2.2-1ubuntu1
2.2.3-1.1ubuntu1
2.2.3-2
2.2.3-3
2.2.3-3ubuntu0.1
2.2.3-3ubuntu0.2
2.2.3-3ubuntu0.3
2.2.3-3ubuntu0.4
2.2.3-3ubuntu0.6

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libipa-hbac-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libipa-hbac0"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libipa-hbac0-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libnss-sss"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libnss-sss-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libpam-sss"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libpam-sss-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-certmap-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-certmap0"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-certmap0-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-idmap-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-idmap0"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-idmap0-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-nss-idmap-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-nss-idmap0"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-nss-idmap0-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-simpleifp-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-simpleifp0"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-simpleifp0-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-sudo"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libsss-sudo-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libwbclient-sssd"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libwbclient-sssd-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "libwbclient-sssd-dev"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-libipa-hbac"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-libipa-hbac-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-libsss-nss-idmap"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-libsss-nss-idmap-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-sss"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "python3-sss-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ad"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ad-common"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ad-common-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ad-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-common"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-common-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-dbus"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-dbus-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ipa"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ipa-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-kcm"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-kcm-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-krb5"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-krb5-common"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-krb5-common-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-krb5-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ldap"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-ldap-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-proxy"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-proxy-dbgsym"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-tools"
        },
        {
            "binary_version": "2.2.3-3ubuntu0.7",
            "binary_name": "sssd-tools-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / sssd

Package

Name
sssd
Purl
pkg:deb/ubuntu/sssd?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.4.1-2ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libipa-hbac-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libipa-hbac0"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libipa-hbac0-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libnss-sss"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libnss-sss-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libpam-sss"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libpam-sss-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-certmap-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-certmap0"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-certmap0-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-idmap-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-idmap0"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-idmap0-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-nss-idmap-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-nss-idmap0"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-nss-idmap0-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-simpleifp-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-simpleifp0"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-simpleifp0-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-sudo"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libsss-sudo-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libwbclient-sssd"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libwbclient-sssd-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "libwbclient-sssd-dev"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-libipa-hbac"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-libipa-hbac-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-libsss-nss-idmap"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-libsss-nss-idmap-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-sss"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "python3-sss-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ad"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ad-common"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ad-common-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ad-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-common"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-common-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-dbus"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-dbus-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ipa"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ipa-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-kcm"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-kcm-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-krb5"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-krb5-common"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-krb5-common-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-krb5-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ldap"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-ldap-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-proxy"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-proxy-dbgsym"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-tools"
        },
        {
            "binary_version": "2.4.1-2ubuntu4",
            "binary_name": "sssd-tools-dbgsym"
        }
    ]
}