An update for samba is now available for openEuler-20.03-LTS-SP1 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2021-1207 Final 1.0 1.0 2021-06-07 Initial 2021-06-07 2021-06-07 openEuler SA Tool V1.0 2021-06-07 samba security update An update for samba is now available for openEuler-20.03-LTS-SP1. Samba is a suite of programs for Linux and Unix to interoperate with Windows. Security Fix(es): A 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) 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.(CVE-2021-20277) A 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) An update for samba is now available for openEuler-20.03-LTS-SP1. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High samba https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1207 https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20254 https://openeuler.org/en/security/cve/detail.html?id=CVE-2021-20277 https://openeuler.org/en/security/cve/detail.html?id=CVE-2020-27840 https://nvd.nist.gov/vuln/detail/CVE-2021-20254 https://nvd.nist.gov/vuln/detail/CVE-2021-20277 https://nvd.nist.gov/vuln/detail/CVE-2020-27840 openEuler-20.03-LTS-SP1 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 samba-pidl-4.11.12-4.oe1.noarch.rpm samba-4.11.12-4.oe1.src.rpm 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 A 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. 2021-06-07 CVE-2021-20254 openEuler-20.03-LTS-SP1 High 8.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N samba security update 2021-06-07 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1207 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. 2021-06-07 CVE-2021-20277 openEuler-20.03-LTS-SP1 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H samba security update 2021-06-07 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1207 A 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. 2021-06-07 CVE-2020-27840 openEuler-20.03-LTS-SP1 High 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H samba security update 2021-06-07 https://openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1207