Skip to content
OpenAdvisories
High openSUSE-SU-2022:0283-1 8 CVEs

Security update for samba

Published Feb 8, 2022 · Updated Feb 4, 2026

Summary

- CVE-2021-44141: Information leak via symlinks of existance of
files or directories outside of the exported share; (bso#14911);
(bsc#1193690);
- CVE-2021-44142: Out-of-bounds heap read/write vulnerability
in VFS module vfs_fruit allows code execution; (bso#14914);
(bsc#1194859);
- CVE-2022-0336: Samba AD users with permission to write to an
account can impersonate arbitrary services; (bso#14950);
(bsc#1195048);

samba was updated to 4.15.4 (jsc#SLE-23329);

* Duplicate SMB file_ids leading to Windows client cache
poisoning; (bso#14928);
* Failed to parse NTLMv2_RESPONSE length 95 - Buffer Size Error -
NT_STATUS_BUFFER_TOO_SMALL; (bso#14932);
* kill_tcp_connections does not work; (bso#14934);
* Can't connect to Windows shares not requiring authentication
using KDE/Gnome; (bso#14935);
* smbclient -L doesn't set 'client max protocol' to NT1 before
calling the 'Reconnecting with SMB1 for workgroup listing'
path; (bso#14939);
* Cross device copy of the crossrename module always fails;
(bso#14940);
* symlinkat function from VFS cap module always fails with an
error; (bso#14941);
* Fix possible fsp pointer deference; (bso#14942);
* Missing pop_sec_ctx() in error path inside close_directory();
(bso#14944);
* 'smbd --build-options' no longer works without an smb.conf file;
(bso#14945);

Samba was updated to version 4.15.3

+ CVE-2021-43566: Symlink race error can allow directory creation
outside of the exported share; (bsc#1139519);
+ CVE-2021-20316: Symlink race error can allow metadata read and
modify outside of the exported share; (bsc#1191227);
- Reorganize libs packages. Split samba-libs into samba-client-libs,
samba-libs, samba-winbind-libs and samba-ad-dc-libs, merging samba
public libraries depending on internal samba libraries into these
packages as there were dependency problems everytime one of these
public libraries changed its version (bsc#1192684). The devel
packages are merged into samba-devel.
- Rename package samba-core-devel to samba-devel
- Update the symlink create by samba-dsdb-modules to private samba
ldb modules following libldb2 changes from /usr/lib64/ldb/samba to
/usr/lib64/ldb2/modules/ldb/samba

krb5 was updated to 1.16.3 to 1.19.2

* Fix a denial of service attack against the KDC encrypted challenge code; (CVE-2021-36222);
* Fix a memory leak when gss_inquire_cred() is called without a credential handle.

Changes from 1.19.1:

* Fix a linking issue with Samba.
* Better support multiple pkinit_identities values by checking whether
certificates can be loaded for each value.

Changes from 1.19

Administrator experience
* When a client keytab is present, the GSSAPI krb5 mech will refresh
credentials even if the current credentials were acquired manually.
* It is now harder to accidentally delete the K/M entry from a KDB.
Developer experience
* gss_acquire_cred_from() now supports the 'password' and 'verify'
options, allowing credentials to be acquired via password and
verified using a keytab key.
* When an application accepts a GSS security context, the new
GSS_C_CHANNEL_BOUND_FLAG will be set if the initiator and acceptor
both provided matching channel bindings.
* Added the GSS_KRB5_NT_X509_CERT name type, allowing S4U2Self requests
to identify the desired client principal by certificate.
* PKINIT certauth modules can now cause the hw-authent flag to be set
in issued tickets.
* The krb5_init_creds_step() API will now issue the same password
expiration warnings as krb5_get_init_creds_password().
Protocol evolution
* Added client and KDC support for Microsoft's Resource-Based Constrained
Delegation, which allows cross-realm S4U2Proxy requests. A third-party
database module is required for KDC support.
* kadmin/admin is now the preferred server principal name for kadmin
connections, and the host-based form is no longer created by default.
The client will still try the host-based form as a fallback.
* Added client and server support for Microsoft's KERB_AP_OPTIONS_CBT
extension, which causes channel bindings to be required for the
initiator if the acceptor provided them. The client will send this
option if the client_aware_gss_bindings profile option is set.
User experience
* kinit will now issue a warning if the des3-cbc-sha1 encryption type is
used in the reply. This encryption type will be deprecated and removed
in future releases.
* Added kvno flags --out-cache, --no-store, and --cached-only
(inspired by Heimdal's kgetcred).

Changes from 1.18.3
* Fix a denial of service vulnerability when decoding Kerberos
protocol messages.
* Fix a locking issue with the LMDB KDB module which could cause
KDC and kadmind processes to lose access to the database.
* Fix an assertion failure when libgssapi_krb5 is repeatedly loaded
and unloaded while libkrb5support remains loaded.

Changes from 1.18.2
* Fix a SPNEGO regression where an acceptor using the default credential
would improperly filter mechanisms, causing a negotiation failure.
* Fix a bug where the KDC would fail to issue tickets if the local krbtgt
principal's first key has a single-DES enctype.
* Add stub functions to allow old versions of OpenSSL libcrypto to link
against libkrb5.
* Fix a NegoEx bug where the client name and delegated credential might
not be reported.

Changes from 1.18.1
* Fix a crash when qualifying short hostnames when the system has
no primary DNS domain.
* Fix a regression when an application imports 'service@' as a GSS
host-based name for its acceptor credential handle.
* Fix KDC enforcement of auth indicators when they are modified by
the KDB module.
* Fix removal of require_auth string attributes when the LDAP KDB
module is used.
* Fix a compile error when building with musl libc on Linux.
* Fix a compile error when building with gcc 4.x.
* Change the KDC constrained delegation precedence order for consistency
with Windows KDCs.

C

Fixed packages 12

ReleasePackageFixed in
openSUSE · Leap 15.3 apparmor 2.13.6-150300.3.11.2
openSUSE · Leap 15.3 krb5 1.19.2-150300.8.3.2
openSUSE · Leap 15.3 krb5-mini 1.19.2-150300.8.3.2
openSUSE · Leap 15.3 ldb 2.4.1-150300.3.10.1
openSUSE · Leap 15.3 libapparmor 2.13.6-150300.3.11.1
openSUSE · Leap 15.3 samba 4.15.4+git.324.8332acf1a63-150300.3.25.3
openSUSE · Leap 15.3 sssd 1.16.1-150300.23.17.3
openSUSE · Leap 15.3 talloc 2.3.3-150300.3.3.2
openSUSE · Leap 15.3 talloc-man 2.3.3-150300.3.3.1
openSUSE · Leap 15.3 tdb 1.4.4-150300.3.3.2
openSUSE · Leap 15.3 tevent 0.11.0-150300.3.3.2
openSUSE · Leap 15.3 tevent-man 0.11.0-150300.3.3.1

Vulnerabilities 8

References

  • report
    https://bugzilla.suse.com/1139519
  • report
    https://bugzilla.suse.com/1183572
  • report
    https://bugzilla.suse.com/1183574
  • report
    https://bugzilla.suse.com/1188571
  • report
    https://bugzilla.suse.com/1191227
  • report
    https://bugzilla.suse.com/1191532
  • report
    https://bugzilla.suse.com/1192684
  • report
    https://bugzilla.suse.com/1193690
  • report
    https://bugzilla.suse.com/1194859
  • report
    https://bugzilla.suse.com/1195048
  • web
    https://www.suse.com/security/cve/CVE-2020-27840
  • web
    https://www.suse.com/security/cve/CVE-2021-20277
  • web
    https://www.suse.com/security/cve/CVE-2021-20316
  • web
    https://www.suse.com/security/cve/CVE-2021-36222
  • web
    https://www.suse.com/security/cve/CVE-2021-43566
  • web
    https://www.suse.com/security/cve/CVE-2021-44141
  • web
    https://www.suse.com/security/cve/CVE-2021-44142
  • web
    https://www.suse.com/security/cve/CVE-2022-0336