{"id":"OESA-2021-1207","summary":"samba security update","details":"Samba is a suite of programs for Linux and Unix to interoperate with Windows.\r\n\r\nSecurity Fix(es):\r\n\r\nA flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). The code that performs this had a flaw that could allow it to read data beyond the end of the array in the case where a negative cache entry had been added to the mapping cache. This could cause the calling code to return those values into the process token that stores the group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity.(CVE-2021-20254)\r\n\r\nA flaw was found in Samba&apos;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.(CVE-2021-20277)\r\n\r\nA 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.(CVE-2020-27840)","modified":"2026-03-11T06:00:55.627507Z","published":"2021-06-07T11:02:56Z","upstream":["CVE-2020-27840","CVE-2021-20254","CVE-2021-20277"],"database_specific":{"severity":"High"},"references":[{"type":"ADVISORY","url":"https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1207"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20254"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20277"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-27840"}],"affected":[{"package":{"name":"samba","ecosystem":"openEuler:20.03-LTS-SP1","purl":"pkg:rpm/openEuler/samba&distro=openEuler-20.03-LTS-SP1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.11.12-4.oe1"}]}],"ecosystem_specific":{"x86_64":["ctdb-tests-4.11.12-4.oe1.x86_64.rpm","samba-debuginfo-4.11.12-4.oe1.x86_64.rpm","samba-dc-provision-4.11.12-4.oe1.x86_64.rpm","samba-devel-4.11.12-4.oe1.x86_64.rpm","samba-vfs-glusterfs-4.11.12-4.oe1.x86_64.rpm","samba-krb5-printing-4.11.12-4.oe1.x86_64.rpm","samba-common-tools-4.11.12-4.oe1.x86_64.rpm","samba-dc-4.11.12-4.oe1.x86_64.rpm","samba-4.11.12-4.oe1.x86_64.rpm","libwbclient-devel-4.11.12-4.oe1.x86_64.rpm","samba-debugsource-4.11.12-4.oe1.x86_64.rpm","libsmbclient-devel-4.11.12-4.oe1.x86_64.rpm","samba-common-4.11.12-4.oe1.x86_64.rpm","ctdb-4.11.12-4.oe1.x86_64.rpm","samba-winbind-clients-4.11.12-4.oe1.x86_64.rpm","samba-libs-4.11.12-4.oe1.x86_64.rpm","samba-client-4.11.12-4.oe1.x86_64.rpm","samba-dc-bind-dlz-4.11.12-4.oe1.x86_64.rpm","samba-test-4.11.12-4.oe1.x86_64.rpm","libwbclient-4.11.12-4.oe1.x86_64.rpm","samba-winbind-krb5-locator-4.11.12-4.oe1.x86_64.rpm","samba-winbind-modules-4.11.12-4.oe1.x86_64.rpm","python3-samba-test-4.11.12-4.oe1.x86_64.rpm","samba-help-4.11.12-4.oe1.x86_64.rpm","python3-samba-4.11.12-4.oe1.x86_64.rpm","python3-samba-dc-4.11.12-4.oe1.x86_64.rpm","libsmbclient-4.11.12-4.oe1.x86_64.rpm","samba-winbind-4.11.12-4.oe1.x86_64.rpm"],"noarch":["samba-pidl-4.11.12-4.oe1.noarch.rpm"],"aarch64":["libsmbclient-devel-4.11.12-4.oe1.aarch64.rpm","samba-winbind-4.11.12-4.oe1.aarch64.rpm","python3-samba-dc-4.11.12-4.oe1.aarch64.rpm","python3-samba-test-4.11.12-4.oe1.aarch64.rpm","samba-debuginfo-4.11.12-4.oe1.aarch64.rpm","ctdb-tests-4.11.12-4.oe1.aarch64.rpm","samba-dc-provision-4.11.12-4.oe1.aarch64.rpm","samba-client-4.11.12-4.oe1.aarch64.rpm","libwbclient-4.11.12-4.oe1.aarch64.rpm","samba-help-4.11.12-4.oe1.aarch64.rpm","samba-test-4.11.12-4.oe1.aarch64.rpm","samba-4.11.12-4.oe1.aarch64.rpm","samba-winbind-modules-4.11.12-4.oe1.aarch64.rpm","samba-debugsource-4.11.12-4.oe1.aarch64.rpm","python3-samba-4.11.12-4.oe1.aarch64.rpm","samba-dc-4.11.12-4.oe1.aarch64.rpm","samba-common-4.11.12-4.oe1.aarch64.rpm","ctdb-4.11.12-4.oe1.aarch64.rpm","libwbclient-devel-4.11.12-4.oe1.aarch64.rpm","samba-krb5-printing-4.11.12-4.oe1.aarch64.rpm","samba-common-tools-4.11.12-4.oe1.aarch64.rpm","libsmbclient-4.11.12-4.oe1.aarch64.rpm","samba-winbind-clients-4.11.12-4.oe1.aarch64.rpm","samba-devel-4.11.12-4.oe1.aarch64.rpm","samba-winbind-krb5-locator-4.11.12-4.oe1.aarch64.rpm","samba-dc-bind-dlz-4.11.12-4.oe1.aarch64.rpm","samba-libs-4.11.12-4.oe1.aarch64.rpm"],"src":["samba-4.11.12-4.oe1.src.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2021-1207.json"}}],"schema_version":"1.7.5"}