USN-5936-1: Samba vulnerabilities
8 March 2023
Several security issues were fixed in Samba.
Releases
Packages
- samba - SMB/CIFS file, print, and login server for Unix
Details
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: This update upgrades the version of Samba to 4.15.13. Please see
the upstream release notes for important changes in the new version:
https://www.samba.org/samba/history/samba-4.15.0.html
In addition, the security fixes included in this new version 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
The problem can be corrected by updating your system to the following package versions:
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-5822-1: ctdb, libnss-winbind, libwbclient0, samba-libs, python3-ldb, libpam-winbind, samba-common, libldb-dev, samba-vfs-modules, libsmbclient-dev, python3-ldb-dev, smbclient, samba-common-bin, samba-dsdb-modules, libldb2, ldb-tools, samba-testsuite, winbind, samba-dev, python3-samba, libsmbclient, libwbclient-dev, samba, registry-tools
- USN-5800-1: libheimbase1-heimdal, heimdal-clients, libhcrypto4-heimdal, libgssapi3-heimdal, libhx509-5-heimdal, libkadm5clnt7-heimdal, libroken18-heimdal, heimdal-kdc, libasn1-8-heimdal, heimdal-servers, libkdc2-heimdal, libkadm5srv8-heimdal, libkafs0-heimdal, heimdal-clients-x, libwind0-heimdal, libotp0-heimdal, heimdal, heimdal-servers-x, libheimntlm0-heimdal, libhdb9-heimdal, libkrb5-26-heimdal, heimdal-kcm, heimdal-multidev, heimdal-docs, libsl0-heimdal, heimdal-dev
- USN-5828-1: krb5-k5tls, krb5-locales, libkrb5support0, libkadm5srv-mit9, libkdb5-8, libk5crypto3, libkrad-dev, libkdb5-10, libkdb5-7, krb5-doc, krb5-user, libkdb5-9, libgssapi-krb5-2, krb5-otp, libkrb5-3, krb5-multidev, krb5-gss-samples, libkadm5srv-mit12, libkadm5clnt-mit12, krb5-admin-server, krb5-kdc, libkrad0, krb5-kdc-ldap, krb5, libgssrpc4, libkadm5srv-mit8, libkadm5srv-mit11, krb5-kpropd, libkadm5clnt-mit11, libkadm5clnt-mit9, libkrb5-dev, krb5-pkinit