USN-5822-1

Type: Security
Severity: Medium
Published: 2023-01-24
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 20.04 LTS (Focal Fossa)

It was discovered that Samba incorrectly handled the bad password count logic. A remote attacker could possibly use this issue to bypass bad passwords lockouts. This issue was only addressed in Ubuntu 22.10. (CVE-2021-20251) Evgeny Legerov discovered that Samba incorrectly handled buffers in certain GSSAPI routines of Heimdal. A remote attacker could possibly use this issue to cause Samba to crash, resulting in a denial of service. (CVE-2022-3437) Tom Tervoort discovered that Samba incorrectly used weak rc4-hmac Kerberos keys. A remote attacker could possibly use this issue to elevate privileges. (CVE-2022-37966, CVE-2022-37967) It was discovered that Samba supported weak RC4/HMAC-MD5 in NetLogon Secure Channel. A remote attacker could possibly use this issue to elevate privileges. (CVE-2022-38023) Greg Hudson discovered that Samba incorrectly handled PAC parsing. On 32-bit systems, a remote attacker could use this issue to escalate privileges, or possibly execute arbitrary code. (CVE-2022-42898) Joseph Sutton discovered that Samba could be forced to issue rc4-hmac encrypted Kerberos tickets. A remote attacker could possibly use this issue to escalate privileges. This issue only affected Ubuntu 20.04 LTS and Ubuntu 22.04 LTS. (CVE-2022-45141) WARNING: The fixes included in these updates introduce several important behavior changes which may cause compatibility problems interacting with systems still expecting the former behavior. Please see the following upstream advisories for more information: https://www.samba.org/samba/security/CVE-2022-37966.html https://www.samba.org/samba/security/CVE-2022-37967.html https://www.samba.org/samba/security/CVE-2022-38023.html Update Instructions: Run `sudo pro fix USN-5822-1` to fix the vulnerability. The problem can be corrected by updating your system to the following package versions: registry-tools - 2:4.15.13+dfsg-0ubuntu1 samba-testsuite - 2:4.15.13+dfsg-0ubuntu1 samba - 2:4.15.13+dfsg-0ubuntu1 libnss-winbind - 2:4.15.13+dfsg-0ubuntu1 libpam-winbind - 2:4.15.13+dfsg-0ubuntu1 winbind - 2:4.15.13+dfsg-0ubuntu1 smbclient - 2:4.15.13+dfsg-0ubuntu1 libwbclient0 - 2:4.15.13+dfsg-0ubuntu1 libwbclient-dev - 2:4.15.13+dfsg-0ubuntu1 samba-common-bin - 2:4.15.13+dfsg-0ubuntu1 libsmbclient - 2:4.15.13+dfsg-0ubuntu1 samba-dsdb-modules - 2:4.15.13+dfsg-0ubuntu1 samba-dev - 2:4.15.13+dfsg-0ubuntu1 libsmbclient-dev - 2:4.15.13+dfsg-0ubuntu1 samba-vfs-modules - 2:4.15.13+dfsg-0ubuntu1 samba-common - 2:4.15.13+dfsg-0ubuntu1 ctdb - 2:4.15.13+dfsg-0ubuntu1 samba-libs - 2:4.15.13+dfsg-0ubuntu1 python3-samba - 2:4.15.13+dfsg-0ubuntu1 No subscription required

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:49:42.558Z UTC

Official vendor advisory

Ubuntu 22.04 LTS (Jammy Jellyfish)

View source
Observed 2026-11-28T02:49:42.558Z UTC. Last updated 2025-11-26T07:44:21.695Z UTC.

Upstream Advisory

Affected Packages

  • registry-tools 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-testsuite 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libnss-winbind 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libpam-winbind 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • winbind 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • smbclient 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libwbclient0 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libwbclient-dev 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-common-bin 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libsmbclient 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-dsdb-modules 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-dev 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • libsmbclient-dev 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-vfs-modules 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-common 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • ctdb 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • samba-libs 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • python3-samba 2:4.15.13+dfsg-0ubuntu1-2:4.15.13+dfsg-0ubuntu1

  • registry-tools 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-testsuite 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libnss-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libpam-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • winbind 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • smbclient 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libwbclient0 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libwbclient-dev 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-common-bin 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libsmbclient 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-dsdb-modules 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-dev 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • libsmbclient-dev 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-vfs-modules 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-common 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • ctdb 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • samba-libs 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

  • python3-samba 2:4.13.17~dfsg-0ubuntu1.20.04.4-2:4.13.17~dfsg-0ubuntu1.20.04.4

Interested in being alerted when there are new versions of registry-tools and the other packages? Set up an alert.
USN-5822-1: Samba vulnerabilities | Package Alert