Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-32742 EUVD-2022-35808GHSA-j7gp-2jqv-76gj

A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill t…

Published Aug 25, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

A flaw was found in Samba. Some SMB1 write requests were not correctly range-checked to ensure the client had sent enough data to fulfill the write, allowing server memory contents to be written into the file (or printer) instead of client-supplied data. The client cannot control the area of the server memory written to the file (or printer).

Affected products

VendorProductAffectedFixed
— samba Versions prior to samba 4.16.4, samba 4.15.9, samba 4.14.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.16.4+dfsg-1 —
Debian 13 samba 2:4.16.4+dfsg-1 —
Debian 12 samba 2:4.16.4+dfsg-1 —
Debian 11 samba 2:4.13.13+dfsg-1~deb11u5 DSA-5205-1
Debian 10 samba 2:4.9.5+dfsg-5+deb10u5 DLA-3792-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS samba 2:4.15.9+dfsg-0ubuntu0.2 USN-5542-1
Ubuntu 20.04 LTS samba 2:4.13.17~dfsg-0ubuntu1.20.04.1 USN-5542-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS samba No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 ctdb +23 4.16.4-101.el9 RHSA-2022:8317
RHEL 8 ctdb +24 4.15.5-10.el8_6 RHSA-2022:7111
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhev Hypervisor 4 samba +5 4.15.5-10.el8_6 RHSA-2022:7111
Red Hat Gluster Storage 3 ctdb +20 4.16.5-100.el8rhgs RHSA-2022:7056

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 ctdb +23 4.16.4-101.el9 ALSA-2022:8317
AlmaLinux 8 ctdb +24 4.15.5-10.el8_6 ALSA-2022:7111

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 samba 4.16.4-101.el9 RLSA-2022:8317
Rocky Linux 8 samba 4.15.5-10.el8_6 RLSA-2022:7111
ReleasePackageFixed inAdvisory
SLES 15 SP4 ldb 2.4.3-150400.4.8.1 SUSE-SU-2022:2659-1
SLES 15 SP4 samba 4.15.8+git.500.d5910280cc7-150400.3.11.1 SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1
SLES 15 SP3 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
SLES 15 SP3 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SLES 15 SP2 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SLES 15 SP1 samba 4.9.5+git.490.e80cf669f50-150100.3.70.1 SUSE-SU-2022:2621-1
SLES 15 samba 4.7.11+git.369.b2cad0ee592-150000.4.66.1 SUSE-SU-2022:2585-1
Show 24 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 samba 4.15.8+git.462.e73f4310487-3.68.1 SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1
SLES 12 SP4 samba 4.6.16+git.324.6bba9ddab76-3.73.1 SUSE-SU-2022:2598-1
SLES 12 SP3 samba 4.6.16+git.324.6bba9ddab76-3.73.1 SUSE-SU-2022:2598-1
SLES 12 SP2 samba 4.4.2-38.55.1 SUSE-SU-2023:0122-1
SLES 2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SLES for SAP 15 SP2 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SLES for SAP 15 SP1 samba 4.9.5+git.490.e80cf669f50-150100.3.70.1 SUSE-SU-2022:2621-1
SLES for SAP 15 samba 4.7.11+git.369.b2cad0ee592-150000.4.66.1 SUSE-SU-2022:2585-1
SLES for SAP 12 SP5 samba 4.15.8+git.462.e73f4310487-3.68.1 SUSE-SU-2023:0081-1, SUSE-SU-2022:2582-1
SLES for SAP 12 SP4 samba 4.6.16+git.324.6bba9ddab76-3.73.1 SUSE-SU-2022:2598-1
SLE Micro 5.3 samba 4.15.13+git.591.ab36624310c-150400.3.19.1 SUSE-SU-2023:0160-1
SLE Micro 5.2 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
SLE Micro 5.2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SLE Micro 5.1 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
SLE HPC 15 SP2 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SLE HPC 15 SP1 samba 4.9.5+git.490.e80cf669f50-150100.3.70.1 SUSE-SU-2022:2621-1
SLE HPC 15 samba 4.7.11+git.369.b2cad0ee592-150000.4.66.1 SUSE-SU-2022:2585-1
SUSE OpenStack Cloud Crowbar 9 samba 4.6.16+git.324.6bba9ddab76-3.73.1 SUSE-SU-2022:2598-1
SUSE OpenStack Cloud 9 samba 4.6.16+git.324.6bba9ddab76-3.73.1 SUSE-SU-2022:2598-1
SUSE Manager Server 4.1 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SUSE Manager Retail Branch Server 4.1 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SUSE Manager Proxy 4.1 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1
SUSE Enterprise Storage 7.1 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
SUSE Enterprise Storage 7.1 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
SUSE Enterprise Storage 7 samba 4.11.14+git.325.2e31b7efa01-150200.4.41.1 SUSE-SU-2022:2651-1, SUSE-SU-2022:2580-1
SUSE Enterprise Storage 6 samba 4.9.5+git.490.e80cf669f50-150100.3.70.1 SUSE-SU-2022:2621-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.16.4+git.297.1497eb221ed-1.1 openSUSE-SU-2024:12243-1
openSUSE Leap 15.4 ldb 2.4.3-150400.4.8.1 SUSE-SU-2022:2659-1
openSUSE Leap 15.4 samba 4.9.5+git.490.e80cf669f50-150100.3.70.1 SUSE-SU-2023:0160-1, SUSE-SU-2022:2659-1, SUSE-SU-2022:2651-1
openSUSE Leap 15.3 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-1
openSUSE Leap 15.3 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 samba 4.15.13+git.591.ab36624310c-150400.3.19.1 SUSE-SU-2023:0160-1
openSUSE Leap Micro 5.2 ldb 2.4.3-150300.3.20.1 SUSE-SU-2022:2586-2
openSUSE Leap Micro 5.2 samba 4.15.8+git.500.d5910280cc7-150300.3.37.1 SUSE-SU-2022:4395-1, SUSE-SU-2022:2586-2
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.15.9-r0 —
Alpine v3.23 samba 4.15.9-r0 —
Alpine v3.22 samba 4.15.9-r0 —
Alpine v3.21 samba 4.15.9-r0 —
Alpine v3.20 samba 4.15.9-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.15.9-r0 —
Alpine v3.18 samba 4.15.9-r0 —
Alpine v3.17 samba 4.15.9-r0 —
Alpine v3.16 samba 4.15.12-r0 —
Alpine v3.15 samba 4.15.12-r0 —
Alpine v3.14 samba 4.14.14-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 samba +29 2:4.17.5-0.amzn2023.0.2 ALAS2023-2023-032
Amazon Linux 2 ctdb +26 4.10.16-24.amzn2.0.2 ALAS2-2023-2166

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba 4.18.3-1 —
Azure Linux 2 (CBL-Mariner) samba No fix yet —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 samba +22 4.16.4-101.el9 ELSA-2022-8317
Oracle Linux 8 ctdb +25 4.15.5-10.0.1.el8_6 ELSA-2022-7111

Advisories 29

References