Security update for ldb, samba

Announcement ID: SUSE-SU-2022:2659-1
Rating: important
References:
Cross-References:
CVSS scores:
  • CVE-2022-2031 ( SUSE ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2022-2031 ( NVD ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2022-32742 ( SUSE ): 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • CVE-2022-32742 ( NVD ): 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • CVE-2022-32744 ( SUSE ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2022-32744 ( NVD ): 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • CVE-2022-32745 ( SUSE ): 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
  • CVE-2022-32745 ( NVD ): 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
  • CVE-2022-32746 ( SUSE ): 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
  • CVE-2022-32746 ( NVD ): 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Affected Products:
  • Basesystem Module 15-SP4
  • openSUSE Leap 15.4
  • SUSE Linux Enterprise Desktop 15 SP4
  • SUSE Linux Enterprise High Availability Extension 15 SP4
  • SUSE Linux Enterprise High Performance Computing 15 SP4
  • SUSE Linux Enterprise Real Time 15 SP4
  • SUSE Linux Enterprise Server 15 SP4
  • SUSE Linux Enterprise Server for SAP Applications 15 SP4
  • SUSE Manager Proxy 4.3
  • SUSE Manager Retail Branch Server 4.3
  • SUSE Manager Server 4.3

An update that solves five vulnerabilities and has six security fixes can now be installed.

Description:

This update for ldb, samba fixes the following issues:

  • CVE-2022-32746: Fixed a use-after-free occurring in database audit logging (bsc#1201490).
  • CVE-2022-32745: Fixed a remote server crash with an LDAP add or modify request (bsc#1201492).
  • CVE-2022-2031: Fixed AD restrictions bypass associated with changing passwords (bsc#1201495).
  • CVE-2022-32742: Fixed a memory leak in SMB1 (bsc#1201496).
  • CVE-2022-32744: Fixed an arbitrary password change request for any AD user (bsc#1201493).

The following non-security bug were fixed:

ldb was updated to version 2.4.3:

  • Fix build problems, waf produces incorrect names for python extensions; (bso#15071);

samba was updated to 4.15.8:

  • Use pathref fd instead of io fd in vfs_default_durable_cookie; (bso#15042);
  • Setting fruit:resource = stream in vfs_fruit causes a panic; (bso#15099);
  • Add support for bind 9.18; (bso#14986);
  • logging dsdb audit to specific files does not work; (bso#15076);
  • vfs_gpfs with vfs_shadowcopy2 fail to restore file if original file had been deleted; (bso#15069);
  • netgroups support removed; (bso#15087); (bsc#1199247);
  • net ads info shows LDAP Server: 0.0.0.0 depending on contacted server; (bso#14674); (bsc#1199734);
  • waf produces incorrect names for python extensions with Python 3.11; (bso#15071);
  • smbclient commands del & deltree fail with NT_STATUS_OBJECT_PATH_NOT_FOUND with DFS; (bso#15100); (bsc#1200556);
  • vfs_gpfs recalls=no option prevents listing files; (bso#15055);
  • waf produces incorrect names for python extensions with Python 3.11; (bso#15071);
  • Compile error in source3/utils/regedit_hexedit.c; (bso#15091);
  • ldconfig: /lib64/libsmbconf.so.0 is not a symbolic link; (bso#15108);
  • smbd doesn't handle UPNs for looking up names; (bso#15054);
  • Out-by-4 error in smbd read reply max_send clamp; (bso#14443);

  • Move pdb backends from package samba-libs to package samba-client-libs and remove samba-libs requirement from samba-winbind; (bsc#1200964); (bsc#1198255);

  • Use the canonical realm name to refresh the Kerberos tickets; (bsc#1196224); (bso#14979);
  • Fix smbclient commands del & deltree failing with NT_STATUS_OBJECT_PATH_NOT_FOUND with DFS; (bso#15100); (bsc#1200556).

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.4
    zypper in -t patch openSUSE-SLE-15.4-2022-2659=1
  • Basesystem Module 15-SP4
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP4-2022-2659=1
  • SUSE Linux Enterprise High Availability Extension 15 SP4
    zypper in -t patch SUSE-SLE-Product-HA-15-SP4-2022-2659=1

Package List:

  • openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
    • ldb-tools-2.4.3-150400.4.8.1
    • samba-winbind-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy-python3-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy0-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-2.4.3-150400.4.8.1
    • ctdb-pcp-pmda-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-gpupdate-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-test-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ldb-tools-debuginfo-2.4.3-150400.4.8.1
    • libsamba-policy0-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ctdb-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-debuginfo-2.4.3-150400.4.8.1
    • samba-ad-dc-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-devel-2.4.3-150400.4.8.1
    • samba-libs-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ctdb-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ctdb-pcp-pmda-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb-devel-2.4.3-150400.4.8.1
    • samba-ldb-ldap-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-dsdb-modules-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ldb-ldap-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ldb-debugsource-2.4.3-150400.4.8.1
    • samba-debugsource-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-debuginfo-2.4.3-150400.4.8.1
    • samba-test-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-2.4.3-150400.4.8.1
    • samba-dsdb-modules-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-tool-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • openSUSE Leap 15.4 (x86_64)
    • python3-ldb-32bit-2.4.3-150400.4.8.1
    • samba-libs-python3-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-devel-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy0-python3-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-python3-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-32bit-debuginfo-2.4.3-150400.4.8.1
    • samba-client-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-32bit-debuginfo-2.4.3-150400.4.8.1
    • libsamba-policy0-python3-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-32bit-2.4.3-150400.4.8.1
    • samba-client-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • openSUSE Leap 15.4 (aarch64 x86_64)
    • samba-ceph-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ceph-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • openSUSE Leap 15.4 (noarch)
    • samba-doc-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • Basesystem Module 15-SP4 (aarch64 ppc64le s390x x86_64)
    • ldb-tools-2.4.3-150400.4.8.1
    • samba-winbind-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy-python3-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy0-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-2.4.3-150400.4.8.1
    • samba-gpupdate-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ad-dc-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ldb-tools-debuginfo-2.4.3-150400.4.8.1
    • libsamba-policy0-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-libs-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-debuginfo-2.4.3-150400.4.8.1
    • samba-ad-dc-libs-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • python3-ldb-devel-2.4.3-150400.4.8.1
    • samba-libs-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-winbind-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-python3-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libsamba-policy-devel-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb-devel-2.4.3-150400.4.8.1
    • samba-ldb-ldap-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-dsdb-modules-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ldb-ldap-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ldb-debugsource-2.4.3-150400.4.8.1
    • samba-debugsource-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-debuginfo-2.4.3-150400.4.8.1
    • libldb2-2.4.3-150400.4.8.1
    • samba-dsdb-modules-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-python3-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • Basesystem Module 15-SP4 (aarch64 x86_64)
    • samba-ceph-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-ceph-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • Basesystem Module 15-SP4 (x86_64)
    • samba-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-client-libs-32bit-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-32bit-debuginfo-2.4.3-150400.4.8.1
    • samba-client-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • libldb2-32bit-2.4.3-150400.4.8.1
    • samba-libs-32bit-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
  • SUSE Linux Enterprise High Availability Extension 15 SP4 (aarch64 ppc64le s390x x86_64)
    • samba-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • samba-debugsource-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ctdb-4.15.8+git.500.d5910280cc7-150400.3.11.1
    • ctdb-debuginfo-4.15.8+git.500.d5910280cc7-150400.3.11.1

References: