Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

USN-5822-1: Samba vulnerabilities

24 January 2023

Several security issues were fixed in Samba.

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Releases

Packages

  • samba - SMB/CIFS file, print, and login server for Unix

Details

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

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.

Learn more about Ubuntu Pro

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 22.10
Ubuntu 22.04
Ubuntu 20.04

This update uses a new upstream release, which includes additional bug
fixes. In general, a standard system update will make all the necessary
changes.

Related notices

  • USN-5936-1: samba-vfs-modules, samba-dsdb-modules, ctdb, winbind, samba-libs, samba-dev, registry-tools, smbclient, libnss-winbind, samba-common, libwbclient0, libpam-winbind, libsmbclient-dev, python3-samba, libwbclient-dev, samba-common-bin, libsmbclient, samba, samba-testsuite
  • USN-5800-1: libhdb9-heimdal, libkdc2-heimdal, heimdal, libheimbase1-heimdal, heimdal-servers-x, libgssapi3-heimdal, libasn1-8-heimdal, libroken18-heimdal, heimdal-dev, heimdal-kcm, heimdal-multidev, libkafs0-heimdal, heimdal-clients-x, libhcrypto4-heimdal, heimdal-servers, libhx509-5-heimdal, libkrb5-26-heimdal, heimdal-clients, heimdal-docs, libsl0-heimdal, heimdal-kdc, libwind0-heimdal, libkadm5srv8-heimdal, libkadm5clnt7-heimdal, libheimntlm0-heimdal, libotp0-heimdal
  • USN-5828-1: krb5-admin-server, krb5-doc, libkrb5support0, libkadm5srv-mit12, libkdb5-7, libkrad0, krb5-multidev, krb5-user, libk5crypto3, libkrb5-3, krb5-gss-samples, krb5, libkdb5-9, libkadm5srv-mit9, libkadm5clnt-mit12, krb5-k5tls, krb5-pkinit, krb5-locales, libkadm5clnt-mit11, krb5-kpropd, libkadm5srv-mit8, libgssapi-krb5-2, libkrad-dev, libgssrpc4, libkadm5clnt-mit9, krb5-kdc-ldap, krb5-kdc, libkrb5-dev, libkdb5-8, libkadm5srv-mit11, krb5-otp, libkdb5-10