Skip to content
OpenAdvisories
Unscored CVE-2020-27840 EUVD-2020-20338GHSA-36xh-w73j-574g

A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings wi…

Published May 12, 2021 · Updated Aug 4, 2024 · Assigned by redhat

Description

A flaw was found in samba. Spaces used in a string around a domain name (DN), while supposed to be ignored, can cause invalid DN strings with spaces to instead write a zero-byte into out-of-bounds memory, resulting in a crash. The highest threat from this vulnerability is to system availability.

Affected products

VendorProductAffectedFixed
— samba samba 4.14.1, samba 4.13.6, samba 4.12.13 —

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.13.13+dfsg-1 —
Debian 13 samba 2:4.13.13+dfsg-1 —
Debian 12 samba 2:4.13.13+dfsg-1 —
Debian 10 ldb 2:1.5.1+really1.4.6-3+deb10u1 DSA-4884-1
Debian 9 ldb 2:1.1.27-1+deb9u2 DLA-2611-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS ldb 2:2.0.10-0ubuntu0.20.04.3 USN-4888-1
Ubuntu 18.04 LTS ldb 2:1.2.3-1ubuntu0.2 USN-4888-1
Ubuntu 16.04 LTS ldb 2:1.1.24-1ubuntu3.2 USN-4888-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS ldb 1:1.1.24-0ubuntu0.14.04.2+esm1 USN-4888-2
ReleasePackageFixed inAdvisory
SLES 15 SP3 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLES 15 SP3 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLES 15 SP3 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLES 15 SP3 samba 4.13.6+git.211.555d60b24ba-3.7.1 SUSE-SU-2022:0283-1, SUSE-SU-2021:3187-1
SLES 15 SP3 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 talloc-man 2.3.3-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 15 SP3 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
SLES 15 SP3 tevent-man 0.11.0-150300.3.3.1 SUSE-SU-2022:0283-1
SLES 15 SP2 ldb 2.0.12-3.6.1 SUSE-SU-2021:0945-1
SLES 15 SP2 samba 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2021:1444-1
SLES 15 SP1 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SLES 15 SP1 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SLES 2 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SLES 2 samba 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2022:0283-1, SUSE-SU-2021:3187-1, SUSE-SU-2021:1444-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SLES for SAP 15 SP1 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SLE Micro 5.1 apparmor 2.13.6-150300.3.11.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 krb5 1.19.2-150300.8.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 ldb 2.4.1-150300.3.10.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 libapparmor 2.13.6-150300.3.11.1 SUSE-SU-2022:0283-1
SLE Micro 5.1 sssd 1.16.1-150300.23.17.3 SUSE-SU-2022:0283-1
SLE Micro 5.1 talloc 2.3.3-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tdb 1.4.4-150300.3.3.2 SUSE-SU-2022:0283-1
SLE Micro 5.1 tevent 0.11.0-150300.3.3.2 SUSE-SU-2022:0283-1
SLE HPC 15 SP1 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SLE HPC 15 SP1 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE Manager Server 4.0 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SUSE Manager Server 4.0 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE Manager Retail Branch Server 4.0 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SUSE Manager Retail Branch Server 4.0 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE Manager Proxy 4.0 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SUSE Manager Proxy 4.0 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE Enterprise Storage 7 ldb 2.2.1-4.3.1 SUSE-SU-2021:1440-1
SUSE Enterprise Storage 7 samba 4.13.6+git.211.555d60b24ba-3.9.1 SUSE-SU-2021:1440-1
SUSE Enterprise Storage 6 ldb 1.4.6-3.8.1 SUSE-SU-2021:0944-1
SUSE Enterprise Storage 6 samba 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ldb 2.3.0-1.3 openSUSE-SU-2024:10911-1
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1
openSUSE Leap 15.3 apparmor 2.13.6-150300.3.11.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 krb5 +1 1.19.2-150300.8.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 ldb 2.4.1-150300.3.10.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 libapparmor 2.13.6-150300.3.11.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 samba 4.13.6+git.211.555d60b24ba-3.7.1 openSUSE-SU-2022:0283-1, openSUSE-SU-2021:3187-1
openSUSE Leap 15.3 sssd 1.16.1-150300.23.17.3 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 talloc 2.3.3-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 talloc-man 2.3.3-150300.3.3.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tdb 1.4.4-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tevent 0.11.0-150300.3.3.2 openSUSE-SU-2022:0283-1
openSUSE Leap 15.3 tevent-man 0.11.0-150300.3.3.1 openSUSE-SU-2022:0283-1
openSUSE Leap 15.2 ldb 2.0.12-lp152.2.9.1 openSUSE-SU-2021:0469-1
openSUSE Leap 15.2 samba 4.11.14+git.247.8c858f7ee14-lp152.3.19.1 openSUSE-SU-2021:0636-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.14.2-r0 —
Alpine v3.23 samba 4.14.2-r0 —
Alpine v3.22 samba 4.14.2-r0 —
Alpine v3.21 samba 4.14.2-r0 —
Alpine v3.20 samba 4.14.2-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.14.2-r0 —
Alpine v3.18 samba 4.14.2-r0 —
Alpine v3.17 samba 4.14.2-r0 —
Alpine v3.16 samba 4.14.2-r0 —
Alpine v3.15 samba 4.14.2-r0 —
Alpine v3.14 samba 4.14.2-r0 —
Alpine v3.13 samba 4.13.7-r0 —
Alpine v3.12 samba 4.12.14-r0 —

Azure Linux

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

Advisories 18

References