Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-20277

published

samba: Out of bounds read in AD DC LDAP server

Title from Red Hat VEX

Published
12 May 2021, 13:54:05 UTC
Updated
03 Aug 2024, 17:37:24 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n/a — sambasamba 4.14.1, samba 4.13.6, samba 4.12.13 Affected Not stated redhat
Amazon Linux AL2 Release evaluationALAS2-2021-1628 Fixed Not stated Amazon Linux assessment
Alpine Linux edge samba Fixed 4.14.2-r0 Package fix record
SUSE / openSUSE SLE-15-SP1 sambaaarch64 Advisory build 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
Debian buster ldb Advisory build 2:1.5.1+really1.4.6-3+deb10u1 DSA-4884-1
Oracle Linux 7 ldb-toolsaarch64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Red Hat Enterprise Linux RHEL-7 ldb-toolsppc64 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Alpine Linux v3.12 samba Fixed 4.12.14-r0 Package fix record
Show 94 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.13 samba Fixed 4.13.7-r0 Package fix record
Alpine Linux v3.14 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.15 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.16 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.17 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.18 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.19 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.20 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.21 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.22 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.23 samba Fixed 4.14.2-r0 Package fix record
Alpine Linux v3.24 samba Fixed 4.14.2-r0 Package fix record
SUSE / openSUSE SLE-15-SP1 sambappc64le Advisory build 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE / openSUSE SLE-15-SP1 sambas390x Advisory build 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE / openSUSE SLE-15-SP1 sambax86_64 Advisory build 4.9.5+git.432.d9b18c4f390-3.50.1 SUSE-SU-2021:1498-1
SUSE / openSUSE SLE-15-SP2 sambaaarch64 Advisory build 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2021:1444-1
SUSE / openSUSE SLE-15-SP2 sambappc64le Advisory build 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2021:1444-1
SUSE / openSUSE SLE-15-SP2 sambas390x Advisory build 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2021:1444-1
SUSE / openSUSE SLE-15-SP2 sambax86_64 Advisory build 4.11.14+git.247.8c858f7ee14-4.19.1 SUSE-SU-2021:1444-1
SUSE / openSUSE SLE-15-SP3 sambaaarch64 Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 SUSE-SU-2021:3187-1
SUSE / openSUSE SLE-15-SP3 sambaaarch64 Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SUSE / openSUSE SLE-15-SP3 sambappc64le Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 SUSE-SU-2021:3187-1
SUSE / openSUSE SLE-15-SP3 sambappc64le Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SUSE / openSUSE SLE-15-SP3 sambas390x Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 SUSE-SU-2021:3187-1
SUSE / openSUSE SLE-15-SP3 sambas390x Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SUSE / openSUSE SLE-15-SP3 sambax86_64 Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 SUSE-SU-2021:3187-1
SUSE / openSUSE SLE-15-SP3 sambax86_64 Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 SUSE-SU-2022:0283-1
SUSE / openSUSE openSUSE-Leap-15.2 sambai586 Advisory build 4.11.14+git.247.8c858f7ee14-lp152.3.19.1 OPENSUSE-SU-2021:0636-1
SUSE / openSUSE openSUSE-Leap-15.2 sambax86_64 Advisory build 4.11.14+git.247.8c858f7ee14-lp152.3.19.1 OPENSUSE-SU-2021:0636-1
SUSE / openSUSE openSUSE-Leap-15.3 sambaaarch64 Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 OPENSUSE-SU-2021:3187-1
SUSE / openSUSE openSUSE-Leap-15.3 sambaaarch64 Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 OPENSUSE-SU-2022:0283-1
SUSE / openSUSE openSUSE-Leap-15.3 sambappc64le Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 OPENSUSE-SU-2021:3187-1
SUSE / openSUSE openSUSE-Leap-15.3 sambappc64le Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 OPENSUSE-SU-2022:0283-1
SUSE / openSUSE openSUSE-Leap-15.3 sambas390x Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 OPENSUSE-SU-2021:3187-1
SUSE / openSUSE openSUSE-Leap-15.3 sambas390x Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 OPENSUSE-SU-2022:0283-1
SUSE / openSUSE openSUSE-Leap-15.3 sambax86_64 Advisory build 4.13.6+git.211.555d60b24ba-3.7.1 OPENSUSE-SU-2021:3187-1
SUSE / openSUSE openSUSE-Leap-15.3 sambax86_64 Advisory build 4.15.4+git.324.8332acf1a63-150300.3.25.3 OPENSUSE-SU-2022:0283-1
SUSE / openSUSE openSUSE-Tumbleweed sambaaarch64 Advisory build 4.14.6+git.182.2205d5224e3-1.1 OPENSUSE-SU-2024:11365-1
SUSE / openSUSE openSUSE-Tumbleweed sambappc64le Advisory build 4.14.6+git.182.2205d5224e3-1.1 OPENSUSE-SU-2024:11365-1
SUSE / openSUSE openSUSE-Tumbleweed sambas390x Advisory build 4.14.6+git.182.2205d5224e3-1.1 OPENSUSE-SU-2024:11365-1
SUSE / openSUSE openSUSE-Tumbleweed sambax86_64 Advisory build 4.14.6+git.182.2205d5224e3-1.1 OPENSUSE-SU-2024:11365-1
Debian stretch ldb Advisory build 2:1.1.27-1+deb9u2 DLA-2611-1
Oracle Linux 7 ldb-toolsx86_64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 libldbaarch64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 libldbx86_64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 libldb-develaarch64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 libldb-develx86_64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 pyldbaarch64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 pyldbx86_64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 pyldb-develaarch64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 7 pyldb-develx86_64 Advisory build 0:1.5.4-2.el7_9 ELSA-2021-1072
Oracle Linux 8 ldb-toolsaarch64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 ldb-toolsx86_64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 libldbaarch64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 libldbx86_64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 libldb-develaarch64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 libldb-develx86_64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 python3-ldbaarch64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Oracle Linux 8 python3-ldbx86_64 Advisory build 0:2.1.3-3.el8_3 ELSA-2021-1197
Red Hat Enterprise Linux RHEL-7 ldb-toolsppc64 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 ldb-toolsppc64le Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 ldb-toolsppc64le Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 ldb-toolsppc64le Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 ldb-toolss390x Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 ldb-toolss390x Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 ldb-toolsx86_64 Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 ldb-toolsx86_64 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 ldb-toolsx86_64 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbi686 Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 libldbi686 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbi686 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbppc Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbppc Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbppc64 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbppc64 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbppc64le Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 libldbppc64le Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbppc64le Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbs390 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbs390 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbs390x Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbs390x Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbsrc Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 libldbsrc Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbsrc Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldbx86_64 Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 libldbx86_64 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldbx86_64 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoi686 Advisory build 1.3.4-2.el7_6 RHSA-2021:2786
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoi686 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoi686 Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoppc Advisory build 1.4.2-2.el7_7 RHSA-2021:2331
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoppc Advisory build 1.5.4-2.el7_9 RHSA-2021:1072
Red Hat Enterprise Linux RHEL-7 libldb-debuginfoppc64 Advisory build 1.4.2-2.el7_7 RHSA-2021:2331

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

A flaw was found in Samba's libldb. Multiple, consecutive leading spaces in an LDAP attribute can lead to an out-of-bounds memory write, leading to a crash of the LDAP server process handling the request. The highest threat from this vulnerability is to system availability.

en · redhat · cna

Vendor advisories explicitly linked to this CVE.

47

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n/a samba samba 4.14.1, samba 4.13.6, samba 4.12.13 (affected) redhat · cna

Weaknesses

1
  • CWE-125 (redhat · cna)

References

9
  • https://bugzilla.redhat.com/show_bug.cgi?id=1941402 x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)
  • [debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html mailing-list, x_refsource_MLIST, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-c93a3a5d3f https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-c2d8628d33 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • FEDORA-2021-1a8e93a285 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/ vendor-advisory, x_refsource_FEDORA, x_transferred Contributors: redhat (cna), CVE (adp)
  • GLSA-202105-22 https://security.gentoo.org/glsa/202105-22 vendor-advisory, x_refsource_GENTOO, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://security.netapp.com/advisory/ntap-20210326-0007/ x_refsource_CONFIRM, x_transferred Contributors: redhat (cna), CVE (adp)
  • DSA-4884 https://www.debian.org/security/2021/dsa-4884 vendor-advisory, x_refsource_DEBIAN, x_transferred Contributors: redhat (cna), CVE (adp)
  • https://www.samba.org/samba/security/CVE-2021-20277.html x_refsource_MISC, x_transferred Contributors: redhat (cna), CVE (adp)

Provider assertions

2

redhat · cna

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
7208ffb757993ba0f898eff2a38200bdcf9dd053ac297fce2c24a21fe9e08ddb
Ingested
23 Sep 2026, 07:52:16 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected