VDB

ALPINE-CVE-2021-20277

ALPINE-CVE-2021-20277 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published May 12, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
sambaAlpine:v3.194.14.2-r0
sambaAlpine:v3.134.13.7-r0
sambaAlpine:v3.224.14.2-r0
sambaAlpine:v3.164.14.2-r0
sambaAlpine:v3.204.14.2-r0
sambaAlpine:v3.244.14.2-r0
sambaAlpine:v3.154.14.2-r0
sambaAlpine:v3.124.12.14-r0
sambaAlpine:v3.234.14.2-r0
sambaAlpine:v3.144.14.2-r0
sambaAlpine:v3.184.14.2-r0
sambaAlpine:v3.214.14.2-r0

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Alpine:v3.19samba3.2.11-r0, 3.2.10-r0, 0
Alpine:v3.13samba3.2.8-r0, 3.2.11-r1, 3.3.6-r0
Alpine:v3.22samba3.4.4-r0, 4.0.0, 4.8.2-r0
Alpine:v3.16samba4.10.5-r0, 4.0.0, 3.3.7-r4
Alpine:v3.20samba3.2.8-r0, 3.3.4-r0, 3.3.7-r0
Alpine:v3.24samba4.0.0, 0
Alpine:v3.15samba4.11.6-r0, 3.2.10-r0, 3.2.11-r0
Alpine:v3.12samba3.2.10-r0, 4.0.0, 4.1.14-r0
Alpine:v3.23samba3.3.5-r2, 3.3.5-r1, 3.3.5-r0
Alpine:v3.14samba3.3.4-r0, 3.3.5-r0, 3.3.5-r1
Alpine:v3.18samba4.7.0-r1, 3.3.5-r2, 3.3.6-r0
Alpine:v3.21samba3.2.8-r0, 3.2.8-r1, 3.3.4-r0
Alpine:v3.17samba0, 4.0.0, 3.3.5-r1

Timeline

  • May 12, 2021 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2021-20277
vulnetix vdb fixes ALPINE-CVE-2021-20277

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2021-20277/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›