CVE-2022-4254 json
sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters
published 3y ago modified 4mo ago also EUVD-2022-51610
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters
Patch / fix
- fedoraproject sssd 2.3.1
- sssd Debian 14, Debian 13, Debian 12 2.3.1-1
debian advisories DEBIAN-CVE-2022-4254
- sssd Ubuntu 20.04 LTS 2.2.3-3ubuntu0.11
ubuntu advisories UBUNTU-CVE-2022-4254
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- sssd RHEL 7 1.16.5-10.el7_9.15
- sssd-ad RHEL 7 1.16.5-10.el7_9.15
- sssd-ipa RHEL 7 1.16.5-10.el7_9.15
- sssd-kcm RHEL 7 1.16.5-10.el7_9.15
- sssd-dbus RHEL 7 1.16.5-10.el7_9.15
- sssd-krb5 RHEL 7 1.16.5-10.el7_9.15
- sssd-ldap RHEL 7 1.16.5-10.el7_9.15
- python-sss RHEL 7 1.16.5-10.el7_9.15
red hat advisories RHSA-2023:0403RHSA-2023:0442RHSA-2023:0397
- sssd SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.16.1-7.49.1
- sssd SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS +1 more 1.16.1-150200.17.26.1
- sssd SLES for SAP 15 SP1, SLES 15 SP1-LTSS, SLE High Performance Computing 15 SP1-LTSS +1 more 1.16.1-150000.8.70.1
- sssd SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Real Time 15 SP3 +9 more 1.16.1-150300.23.37.1
- sssd SLES for SAP 12 SP4, SLES 12 SP4-LTSS, OpenStack Cloud Crowbar 9 +1 more 1.16.1-4.43.1
suse advisories SUSE-SU-2023:0301-1SUSE-SU-2023:0300-1SUSE-SU-2023:0292-1SUSE-SU-2023:0204-1SUSE-SU-2023:0200-1
- github.com/SSSD/sssd@a2b9a84 commit
- bugzilla.redhat.com/show_bug.cgi?id=2149894 advisory
- github.com/SSSD/sssd/issues/5135 advisory
Is CVE-2022-4254 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-4254 updated cvss 8.8
sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters
-
Red Hat Enterprise Linux BaseOS AUS (v. 8.2) sssd 2.2.3-20.el8_2.2, sssd-ad 2.2.3-20.el8_2.2, sssd-ipa 2.2.3-20.el8_2.2, sssd-kcm 2.2.3-20.el8_2.2, sssd-dbus 2.2.3-20.el8_2.2, sssd-krb5 2.2.3-20.el8_2.2, +23 morefixed: vendor fix RHSA-2023:0397
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) sssd 2.2.0-19.el8_1.3, sssd-ad 2.2.0-19.el8_1.3, sssd-ipa 2.2.0-19.el8_1.3, sssd-kcm 2.2.0-19.el8_1.3, sssd-dbus 2.2.0-19.el8_1.3, sssd-krb5 2.2.0-19.el8_1.3, +23 morefixed: vendor fix RHSA-2023:0442
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.2) sssd 2.2.3-20.el8_2.2, sssd-ad 2.2.3-20.el8_2.2, sssd-ipa 2.2.3-20.el8_2.2, sssd-kcm 2.2.3-20.el8_2.2, sssd-dbus 2.2.3-20.el8_2.2, sssd-krb5 2.2.3-20.el8_2.2, +23 more Red Hat Enterprise Linux BaseOS TUS (v. 8.2) sssd 2.2.3-20.el8_2.2, sssd-ad 2.2.3-20.el8_2.2, sssd-ipa 2.2.3-20.el8_2.2, sssd-kcm 2.2.3-20.el8_2.2, sssd-dbus 2.2.3-20.el8_2.2, sssd-krb5 2.2.3-20.el8_2.2, +23 morefixed: vendor fix RHSA-2023:0397
-
Red Hat Enterprise Linux Client (v. 7) sssd 1.16.5-10.el7_9.15, sssd-ad 1.16.5-10.el7_9.15, sssd-ipa 1.16.5-10.el7_9.15, sssd-kcm 1.16.5-10.el7_9.15, sssd-dbus 1.16.5-10.el7_9.15, sssd-krb5 1.16.5-10.el7_9.15, +21 more Red Hat Enterprise Linux Client Optional (v. 7) python-libsss_nss_idmap 1.16.5-10.el7_9.15 Red Hat Enterprise Linux ComputeNode Optional (v. 7) python-libsss_nss_idmap 1.16.5-10.el7_9.15 Red Hat Enterprise Linux Server (v. 7) sssd 1.16.5-10.el7_9.15, sssd-ad 1.16.5-10.el7_9.15, sssd-ipa 1.16.5-10.el7_9.15, sssd-kcm 1.16.5-10.el7_9.15, sssd-dbus 1.16.5-10.el7_9.15, sssd-krb5 1.16.5-10.el7_9.15, +22 more Red Hat Enterprise Linux Server Optional (v. 7) python-libsss_nss_idmap 1.16.5-10.el7_9.15 Red Hat Enterprise Linux Workstation (v. 7) sssd 1.16.5-10.el7_9.15, sssd-ad 1.16.5-10.el7_9.15, sssd-ipa 1.16.5-10.el7_9.15, sssd-kcm 1.16.5-10.el7_9.15, sssd-dbus 1.16.5-10.el7_9.15, sssd-krb5 1.16.5-10.el7_9.15, +22 morefixed: vendor fix RHSA-2023:0403
+1 more productsfewer
Red Hat Enterprise Linux Workstation Optional (v. 7) sssd-debuginfo 1.16.5-10.el7_9.15, libipa_hbac-devel 1.16.5-10.el7_9.15, libsss_idmap-devel 1.16.5-10.el7_9.15, libsss_certmap-devel 1.16.5-10.el7_9.15, libsss_nss_idmap-devel 1.16.5-10.el7_9.15, libsss_simpleifp-devel 1.16.5-10.el7_9.15, +1 more -
Red Hat Enterprise Linux 6 sssd, sssd-ad, sssd-ipa, sssd-dbus, sssd-krb5, sssd-ldap, +19 more Red Hat Enterprise Linux 8 sssd, sssd-ad, sssd-idp, sssd-ipa, sssd-kcm, sssd-dbus, +24 more Red Hat Enterprise Linux 9 sssd, sssd-ad, sssd-idp, sssd-ipa, sssd-kcm, sssd-dbus, +24 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
0.95% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2149894 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/SSSD/sssd/issues/5135 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
- n/a SSSD
Classification
- Weakness
-
- CWE-90 Improper Neutralization of Special Elements used in an LDAP Query
References
-
github.com
/SSSD/sssd/commit/a2b9a84460429181f2a4fa7e2bb5ab49fd561274
patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2149894
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/SSSD/sssd/issues/5135
exploit, issue-tracking, patch, third-party-advisory
-
access.redhat.com
/security/cve/CVE-2022-4254
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/05/msg00028.html
mailing-list
Sources
- CVE List CVE-2022-4254
- NVD CVE-2022-4254
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.