USN-9472-1: Samba vulnerabilities
Andrew Bartlett discovered that Samba's LDAP server did not properly check access rights for deleted objects. An authenticated user could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2018-14628) It was discovered that Samba incorrectly handled the bad password count logic. A remote attacker could possibly use this issue to bypass bad password lockouts. This issue only affected Ubuntu 22.04 LTS. (CVE-2021-20251) It was discovered that Samba incorrectly handled random number generation failures in GnuTLS, which could result in predictable random values. A local attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-1615) It was discovered that Samba did not properly validate access rights when changing the DNS host name of a computer account. An attacker could possibly use this issue to modify protected attributes. This issue only affected Ubuntu 22.04 LTS. (CVE-2022-32743) It was discovered that Samba incorrectly handled usernames when deleting users with the LDAP password database backend. An attacker could possibly use this issue to perform LDAP injection attacks. (CVE-2026-120377) It was discovered that Samba incorrectly handled certain LDAP modify requests. An authenticated user could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2026-125634) It was discovered that the ldb library included in Samba did not properly check access rights when matching bitwise search filters. A remote authenticated attacker could possibly use this issue to obtain sensitive information. This issue only affected Ubuntu 24.04 LTS and Ubuntu 26.04 LTS. (CVE-2026-125635)
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libldb2to a version that resolves this vulnerability.Fixed in 2:2.11.0+samba4.23.6+dfsg-1ubuntu2.4 - Upgrade
Upgrade
ubuntu/sambato a version that resolves this vulnerability.Fixed in 2:4.23.6+dfsg-1ubuntu2.4 - Upgrade
Upgrade
ubuntu/libldb2to a version that resolves this vulnerability.Fixed in 2:2.8.0+samba4.19.5+dfsg-4ubuntu9.9 - Upgrade
Upgrade
ubuntu/sambato a version that resolves this vulnerability.Fixed in 2:4.19.5+dfsg-4ubuntu9.9 - Upgrade
Upgrade
ubuntu/sambato a version that resolves this vulnerability.Fixed in 2:4.15.13+dfsg-0ubuntu1.14
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which Ubuntu systems are in scope for the explicitly described issues?
The described CVE-2018-14628, CVE-2021-20251, CVE-2022-1615, and CVE-2022-32743 issues are stated to affect only Ubuntu 22.04 LTS.
Does exploiting these issues require prior access?
Requirements vary by issue. Access to deleted LDAP objects requires an authenticated user, predictable random values require local attacker access, and the bad-password lockout issue can be attempted remotely.
What are the potential outcomes an attacker could achieve?
The listed impacts include disclosure of sensitive information, bypass of bad-password lockouts, and modification of protected attributes by changing a computer account's DNS host name.