cve.bz

CVE-2022-4254 LDAP Injection

8.8 highExploit referenceEPSS 1.0%Fix available

High (8.8). EPSS 1.0% estimated probability of exploitation activity in the next 30 days.

On this page
sssd: libsss_certmap fails to sanitise certificate data used in LDAP filters

Severity

CVSS 3.1

8.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 63rd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2025-03-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-90 Improper Neutralization of Special Elements used in an LDAP Query (LDAP Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-4254 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4254?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4254?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-4254 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
fedoraproject:sssdfrom 1.15.3 before 2.3.1
redhat:enterprise_linux8.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_for_ibm_z_systems7.0
redhat:enterprise_linux_for_power_big_endian7.0
redhat:enterprise_linux_for_power_little_endian7.0
redhat:enterprise_linux_for_scientific_computing7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus8.2
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.1
redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions8.2
redhat:enterprise_linux_server_tus8.2
redhat:enterprise_linux_server_update_services_for_sap_solutions8.1
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10sssd1.16.3-3.2+deb10u1DLA-3436-1
Debian12, 13, 14sssd2.3.1-1DEBIAN-CVE-2022-4254
Ubuntu20.04:LTSsssd2.2.3-3ubuntu0.11UBUNTU-CVE-2022-4254 USN-6156-1
UbuntuPro:18.04:LTSsssdno fix listedUBUNTU-CVE-2022-4254
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationsssd, sssd-ad, sssd-ipa and 32 more0:1.16.5-10.el7_9.15RHSA-2023:0403
Red Hatenterprise_linux:7::computenodesssd-debuginfo, libipa_hbac-devel, libsss_idmap-devel and 5 more0:1.16.5-10.el7_9.15RHSA-2023:0403
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseossssd, sssd-ad, sssd-ipa and 54 more0:2.2.3-20.el8_2.2RHSA-2023:0397
Red Hatrhel_e4s:8.1::baseossssd, sssd-ad, sssd-ipa and 54 more0:2.2.0-19.el8_1.3RHSA-2023:0442
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS and 1 moresssd1.16.1-150000.8.70.1SUSE-SU-2023:0292-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS and 1 moresssd1.16.1-150200.17.26.1SUSE-SU-2023:0300-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 8 moresssd1.16.1-150300.23.37.1SUSE-SU-2023:0204-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server for SAP Applications 12 SP4, OpenStack Cloud 9 and 1 moresssd1.16.1-4.43.1SUSE-SU-2023:0200-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5sssd1.16.1-7.49.1SUSE-SU-2023:0301-1
openSUSELeap Micro 5.2sssd1.16.1-150300.23.37.1SUSE-SU-2023:0204-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The issue was introduced in SSSD 1.15.3 (when libsss_certmap was introduced) and resolved in SSSD 2.3.1. It only affects versions of SSSD shipped with RHEL-8.2.0.z and lower streams. Later versions are not affected.

FreeIPA is not vulnerable in its default configuration.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7sssd-0:1.16.5-10.el7_9.15Fixed 2023-01-24RHSA-2023:0403
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionssssd-0:2.2.0-19.el8_1.3Fixed 2023-01-24RHSA-2023:0442
Red Hat Enterprise Linux 8.2 Advanced Update Supportsssd-0:2.2.3-20.el8_2.2Fixed 2023-01-24RHSA-2023:0397
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicesssd-0:2.2.3-20.el8_2.2Fixed 2023-01-24RHSA-2023:0397
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionssssd-0:2.2.3-20.el8_2.2Fixed 2023-01-24RHSA-2023:0397
Red Hat Enterprise Linux 6sssdNot affected
Red Hat Enterprise Linux 8sssdNot affected
Red Hat Enterprise Linux 9sssdNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-4254.

Attack patterns (CAPEC)

  • CAPEC-136 LDAP Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON