{"id":"ALPINE-CVE-2021-20277","details":"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.","modified":"2026-08-27T22:18:01.451834614Z","published":"2021-05-12T14:15:11.140Z","upstream":["CVE-2021-20277"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-20277"}],"affected":[{"package":{"name":"samba","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.12.14-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.13.7-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}},{"package":{"name":"samba","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/samba?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.14.2-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-20277.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}