{"id":"CVE-2021-20277","state":"PUBLISHED","title":"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 proce","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.","publishedAt":"2021-05-12T13:54:05.000Z","updatedAt":"2024-08-03T17:37:24.134Z","severity":null,"assigner":"redhat","products":["n/a samba"],"affected":[{"vendor":"n/a","product":"samba","versions":[{"version":"samba 4.14.1, samba 4.13.6, samba 4.12.13","status":"affected"}]}],"references":["https://security.netapp.com/advisory/ntap-20210326-0007/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/","https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html","https://www.debian.org/security/2021/dsa-4884","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/","https://bugzilla.redhat.com/show_bug.cgi?id=1941402","https://www.samba.org/samba/security/CVE-2021-20277.html","https://security.gentoo.org/glsa/202105-22"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:47:55.610Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/20xxx/CVE-2021-20277.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-20277","state":"PUBLISHED","datePublished":"2021-05-12T13:54:05.000Z","dateUpdated":"2024-08-03T17:37:24.134Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2020-12-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"samba","versions":[{"version":"samba 4.14.1, samba 4.13.6, samba 4.12.13","status":"affected"}]}],"references":[{"url":"https://security.netapp.com/advisory/ntap-20210326-0007/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/","name":"FEDORA-2021-c2d8628d33","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html","name":"[debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2021/dsa-4884","name":"DSA-4884","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/","name":"FEDORA-2021-1a8e93a285","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/","name":"FEDORA-2021-c93a3a5d3f","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941402","tags":["x_refsource_MISC"]},{"url":"https://www.samba.org/samba/security/CVE-2021-20277.html","tags":["x_refsource_MISC"]},{"url":"https://security.gentoo.org/glsa/202105-22","name":"GLSA-202105-22","tags":["vendor-advisory","x_refsource_GENTOO"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2021-05-26T11:08:41.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-20277","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"samba","version":{"version_data":[{"version_value":"samba 4.14.1, samba 4.13.6, samba 4.12.13"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125"}]}]},"references":{"reference_data":[{"name":"https://security.netapp.com/advisory/ntap-20210326-0007/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210326-0007/"},{"name":"FEDORA-2021-c2d8628d33","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/"},{"name":"[debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html"},{"name":"DSA-4884","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4884"},{"name":"FEDORA-2021-1a8e93a285","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/"},{"name":"FEDORA-2021-c93a3a5d3f","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1941402","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941402"},{"name":"https://www.samba.org/samba/security/CVE-2021-20277.html","refsource":"MISC","url":"https://www.samba.org/samba/security/CVE-2021-20277.html"},{"name":"GLSA-202105-22","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202105-22"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20210326-0007/","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/X5J3B6PN5XMXF3OHYBNHDKZ3XFSUGY4L/","name":"FEDORA-2021-c2d8628d33","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00036.html","name":"[debian-lts-announce] 20210331 [SECURITY] [DLA 2611-1] ldb security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.debian.org/security/2021/dsa-4884","name":"DSA-4884","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZXP3ONIY6MB4C5LDZV4YL5KJCES3UX24/","name":"FEDORA-2021-1a8e93a285","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VLZ74IF2N75VQSIHBL4B3P5WKWQCXSRY/","name":"FEDORA-2021-c93a3a5d3f","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1941402","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.samba.org/samba/security/CVE-2021-20277.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202105-22","name":"GLSA-202105-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:37:24.134Z"}}]}}}