USN-5542-1
It was discovered that Samba did not handle MaxQueryDuration when being used in AD DC configurations, contrary to expectations. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-3670) Luke Howard discovered that Samba incorrectly handled certain restrictions associated with changing passwords. A remote attacker being requested to change passwords could possibly use this issue to escalate privileges. (CVE-2022-2031) Luca Moro discovered that Samba incorrectly handled certain SMB1 communications. A remote attacker could possibly use this issue to obtain sensitive memory contents. (CVE-2022-32742) Joseph Sutton discovered that Samba incorrectly handled certain password change requests. A remote attacker could use this issue to change passwords of other users, resulting in privilege escalation. (CVE-2022-32744) Joseph Sutton discovered that Samba incorrectly handled certain LDAP add or modify requests. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-32745) Joseph Sutton and Andrew Bartlett discovered that Samba incorrectly handled certain LDAP add or modify requests. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-32746) Update Instructions: Run `sudo pro fix USN-5542-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: libnss-winbind - 2:4.15.9+dfsg-0ubuntu0.2 samba-testsuite - 2:4.15.9+dfsg-0ubuntu0.2 samba - 2:4.15.9+dfsg-0ubuntu0.2 registry-tools - 2:4.15.9+dfsg-0ubuntu0.2 libpam-winbind - 2:4.15.9+dfsg-0ubuntu0.2 winbind - 2:4.15.9+dfsg-0ubuntu0.2 smbclient - 2:4.15.9+dfsg-0ubuntu0.2 libwbclient0 - 2:4.15.9+dfsg-0ubuntu0.2 libwbclient-dev - 2:4.15.9+dfsg-0ubuntu0.2 samba-common-bin - 2:4.15.9+dfsg-0ubuntu0.2 libsmbclient - 2:4.15.9+dfsg-0ubuntu0.2 samba-dsdb-modules - 2:4.15.9+dfsg-0ubuntu0.2 samba-dev - 2:4.15.9+dfsg-0ubuntu0.2 libsmbclient-dev - 2:4.15.9+dfsg-0ubuntu0.2 samba-vfs-modules - 2:4.15.9+dfsg-0ubuntu0.2 samba-common - 2:4.15.9+dfsg-0ubuntu0.2 ctdb - 2:4.15.9+dfsg-0ubuntu0.2 samba-libs - 2:4.15.9+dfsg-0ubuntu0.2 python3-samba - 2:4.15.9+dfsg-0ubuntu0.2 No subscription required
Evidence and freshness
Last supporting evidence check: 2026-11-28T06:52:44.004Z UTC
Upstream Advisory
Affected Packages
libnss-winbind 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-testsuite 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
registry-tools 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libpam-winbind 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
winbind 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
smbclient 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libwbclient0 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libwbclient-dev 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-common-bin 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libsmbclient 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-dsdb-modules 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-dev 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libsmbclient-dev 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-vfs-modules 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-common 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
ctdb 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
samba-libs 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
python3-samba 2:4.15.9+dfsg-0ubuntu0.2-2:4.15.9+dfsg-0ubuntu0.2
libnss-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-testsuite 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
registry-tools 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
libpam-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
smbclient 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
libwbclient0 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
libwbclient-dev 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-common-bin 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
libsmbclient 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-dsdb-modules 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-dev 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
libsmbclient-dev 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-vfs-modules 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-common 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
ctdb 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
samba-libs 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1
python3-samba 2:4.13.17~dfsg-0ubuntu1.20.04.1-2:4.13.17~dfsg-0ubuntu1.20.04.1