LDAP Injection Affecting ctdb-tests package, versions <0:4.10.16-24.amzn2.0.9


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.8% (55th 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-CTDBTESTS-19457231
  • published1 Sept 2026
  • disclosed30 Jul 2026

Introduced: 30 Jul 2026

CVE-2026-58222  (opens in a new tab)
CWE-90  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 ctdb-tests to version 0:4.10.16-24.amzn2.0.9 or higher.
This issue was patched in ALAS2-2026-3886.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ctdb-tests package and not the ctdb-tests package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

A security flaw combining LDAP filter injection and improper authorization checks was found in Samba Active Directory Domain Controller (AD DC). When processing LDAP Compare requests, Samba fails to properly validate user-supplied attribute names and executes the resulting internal database search in a trusted context, bypassing normal Access Control List (ACL) enforcement. An authenticated low-privilege domain user can exploit these flaws to disclose confidential Active Directory attributes that would normally be inaccessible. The disclosed information may be leveraged to derive sensitive authentication material, potentially leading to privilege escalation and complete domain compromise. For example: In deployments configured with Group Managed Service Accounts (gMSAs), an attacker can extract the "msKds-RootKeyData" attribute and derive gMSA passwords offline, potentially leading to complete domain compromise if privileged gMSAs are present.

CVSS Base Scores

version 3.1