Debian Package Tracker
Register | Log in
Subscribe

samba

SMB/CIFS file, print, and login server for Unix

Choose email to subscribe with

general
  • source: samba (main)
  • version: 2:4.16.2+dfsg-1
  • maintainer: Debian Samba Maintainers (archive) (DMD)
  • uploaders: Jelmer Vernooij [DMD] – Mathieu Parent [DMD] – Andrew Bartlett [DMD] – Steve Langasek [DMD] – Michael Tokarev [DMD]
  • arch: all any
  • std-ver: 4.5.1
  • VCS: Git (Browse, QA)
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 2:4.5.16+dfsg-1+deb9u2
  • o-o-sec: 2:4.5.16+dfsg-1+deb9u4
  • oldstable: 2:4.9.5+dfsg-5
  • old-sec: 2:4.9.5+dfsg-5+deb10u3
  • stable: 2:4.13.13+dfsg-1~deb11u2
  • stable-sec: 2:4.13.13+dfsg-1~deb11u3
  • stable-bpo: 2:4.16.1+dfsg-8~bpo11+1
  • stable-p-u: 2:4.13.13+dfsg-1~deb11u4
  • testing: 2:4.16.2+dfsg-1
  • unstable: 2:4.16.2+dfsg-1
versioned links
  • 2:4.5.16+dfsg-1+deb9u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.5.16+dfsg-1+deb9u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.9.5+dfsg-5: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.9.5+dfsg-5+deb10u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.9.5+dfsg-5+deb10u3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.13.13+dfsg-1~deb11u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.13.13+dfsg-1~deb11u3: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.13.13+dfsg-1~deb11u4: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.16.1+dfsg-8~bpo11+1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2:4.16.2+dfsg-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • ctdb
  • ldb-tools
  • libldb-dev
  • libldb2
  • libnss-winbind
  • libpam-winbind (1 bugs: 0, 1, 0, 0)
  • libsmbclient (1 bugs: 0, 1, 0, 0)
  • libsmbclient-dev (1 bugs: 0, 0, 1, 0)
  • libwbclient-dev
  • libwbclient0
  • python3-ldb
  • python3-ldb-dev
  • python3-samba
  • registry-tools
  • samba (59 bugs: 0, 52, 7, 0)
  • samba-common (5 bugs: 0, 5, 0, 0)
  • samba-common-bin (5 bugs: 0, 4, 1, 0)
  • samba-dev
  • samba-dsdb-modules
  • samba-libs (2 bugs: 0, 2, 0, 0)
  • samba-testsuite
  • samba-vfs-modules (2 bugs: 0, 2, 0, 0)
  • smbclient (9 bugs: 0, 8, 1, 0)
  • winbind (8 bugs: 0, 8, 0, 0)
action needed
14 security issues in stretch high

There are 14 open security issues in stretch.

13 important issues:
  • CVE-2016-2124: A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve the plaintext password sent over the wire even if Kerberos authentication was required.
  • CVE-2021-3670:
  • CVE-2021-3738: In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.
  • CVE-2022-0336:
  • CVE-2020-25717: A flaw was found in the way Samba maps domain users to local users. An authenticated attacker could use this flaw to cause possible privilege escalation.
  • CVE-2020-25718: A flaw was found in the way samba, as an Active Directory Domain Controller, is able to support an RODC (read-only domain controller). This would allow an RODC to print administrator tickets.
  • CVE-2020-25719: A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based authentication. The Samba AD DC, could become confused about the user a ticket represents if it did not strictly require a Kerberos PAC and always use the SIDs found within. The result could include total domain compromise.
  • CVE-2020-25721: Kerberos acceptors need easy access to stable AD identifiers (eg objectSid). Samba as an AD DC now provides a way for Linux applications to obtain a reliable SID (and samAccountName) in issued tickets.
  • CVE-2020-25722: Multiple flaws were found in the way samba AD DC implemented access and conformance checking of stored data. An attacker could use this flaw to cause total domain compromise.
  • CVE-2021-20316:
  • CVE-2021-43566: All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.
  • CVE-2021-44141: All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
  • CVE-2021-44142: The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver." Samba versions prior to 4.13.17, 4.14.12 and 4.15.5 with vfs_fruit configured allow out-of-bounds heap read and write via specially crafted extended file attributes. A remote attacker with write access to extended file attributes can execute arbitrary code with the privileges of smbd, typically root.
1 issue postponed or untriaged:
  • CVE-2021-3671: (needs triaging) A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticket Granting Server - Request). An authenticated user could use this flaw to crash the samba server.
Created: 2021-11-09 Last update: 2022-06-17 21:30
lintian reports 2 errors and 25 warnings high
Lintian reports 2 errors and 25 warnings about this package. You should make the package lintian clean getting rid of them.
Created: 2022-01-01 Last update: 2022-01-01 04:35
Depends on packages which need a new maintainer normal
The packages that samba depends on which need a new maintainer are:
  • popt (#995268)
    • Depends: libpopt0 libpopt0 libpopt0 libpopt0 libpopt0 libpopt-dev libpopt0 libpopt0 libpopt0 libpopt0
  • dh-exec (#851746)
    • Build-Depends: dh-exec
  • smbldap-tools (#831723)
    • Suggests: smbldap-tools
Created: 2019-11-22 Last update: 2022-06-29 18:08
30 low-priority security issues in buster low

There are 30 open security issues in buster.

22 issues left for the package maintainer to handle:
  • CVE-2016-2124: (needs triaging) A flaw was found in the way samba implemented SMB1 authentication. An attacker could use this flaw to retrieve the plaintext password sent over the wire even if Kerberos authentication was required.
  • CVE-2020-1472: (needs triaging) An elevation of privilege vulnerability exists when an attacker establishes a vulnerable Netlogon secure channel connection to a domain controller, using the Netlogon Remote Protocol (MS-NRPC), aka 'Netlogon Elevation of Privilege Vulnerability'.
  • CVE-2021-3671: (needs triaging) A null pointer de-reference was found in the way samba kerberos server handled missing sname in TGS-REQ (Ticket Granting Server - Request). An authenticated user could use this flaw to crash the samba server.
  • CVE-2021-3738: (needs triaging) In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct session_info'. The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.
  • CVE-2022-0336: (needs triaging)
  • CVE-2019-10218: (needs triaging) A flaw was found in the samba client, all samba versions before samba 4.11.2, 4.10.10 and 4.9.15, where a malicious server can supply a pathname to the client with separators. This could allow the client to access files and folders outside of the SMB network pathnames. An attacker could use this vulnerability to create files outside of the current working directory using the privileges of the client user.
  • CVE-2019-14833: (needs triaging) A flaw was found in Samba, all versions starting samba 4.5.0 before samba 4.9.15, samba 4.10.10, samba 4.11.2, in the way it handles a user password change or a new password for a samba user. The Samba Active Directory Domain Controller can be configured to use a custom script to check for password complexity. This configuration can fail to verify password complexity when non-ASCII characters are used in the password, which could lead to weak passwords being set for samba users, making it vulnerable to dictionary attacks.
  • CVE-2019-14847: (needs triaging) A flaw was found in samba 4.0.0 before samba 4.9.15 and samba 4.10.x before 4.10.10. An attacker can crash AD DC LDAP server via dirsync resulting in denial of service. Privilege escalation is not possible with this issue.
  • CVE-2019-14861: (needs triaging) All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the (poorly named) dnsserver RPC pipe provides administrative facilities to modify DNS records and zones. Samba, when acting as an AD DC, stores DNS records in LDAP. In AD, the default permissions on the DNS partition allow creation of new records by authenticated users. This is used for example to allow machines to self-register in DNS. If a DNS record was created that case-insensitively matched the name of the zone, the ldb_qsort() and dns_name_compare() routines could be confused into reading memory prior to the list of DNS entries when responding to DnssrvEnumRecords() or DnssrvEnumRecords2() and so following invalid memory as a pointer.
  • CVE-2019-14870: (needs triaging) All Samba versions 4.x.x before 4.9.17, 4.10.x before 4.10.11 and 4.11.x before 4.11.3 have an issue, where the S4U (MS-SFU) Kerberos delegation model includes a feature allowing for a subset of clients to be opted out of constrained delegation in any way, either S4U2Self or regular Kerberos authentication, by forcing all tickets for these clients to be non-forwardable. In AD this is implemented by a user attribute delegation_not_allowed (aka not-delegated), which translates to disallow-forwardable. However the Samba AD DC does not do that for S4U2Self and does set the forwardable flag even if the impersonated client has the not-delegated flag set.
  • CVE-2019-14902: (needs triaging) There is an issue in all samba 4.11.x versions before 4.11.5, all samba 4.10.x versions before 4.10.12 and all samba 4.9.x versions before 4.9.18, where the removal of the right to create or modify a subtree would not automatically be taken away on all domain controllers.
  • CVE-2019-14907: (needs triaging) All samba versions 4.9.x before 4.9.18, 4.10.x before 4.10.12 and 4.11.x before 4.11.5 have an issue where if it is set with "log level = 3" (or above) then the string obtained from the client, after a failed character conversion, is printed. Such strings can be provided during the NTLMSSP authentication exchange. In the Samba AD DC in particular, this may cause a long-lived process(such as the RPC server) to terminate. (In the file server case, the most likely target, smbd, operates as process-per-client and so a crash there is harmless).
  • CVE-2019-19344: (needs triaging) There is a use-after-free issue in all samba 4.9.x versions before 4.9.18, all samba 4.10.x versions before 4.10.12 and all samba 4.11.x versions before 4.11.5, essentially due to a call to realloc() while other local variables still point at the original buffer.
  • CVE-2020-10704: (postponed; to be fixed through a stable update) A flaw was found when using samba as an Active Directory Domain Controller. Due to the way samba handles certain requests as an Active Directory Domain Controller LDAP server, an unauthorized user can cause a stack overflow leading to a denial of service. The highest threat from this vulnerability is to system availability. This issue affects all samba versions before 4.10.15, before 4.11.8 and before 4.12.2.
  • CVE-2020-10730: (postponed; to be fixed through a stable update) A NULL pointer dereference, or possible use-after-free flaw was found in Samba AD LDAP server in versions before 4.10.17, before 4.11.11 and before 4.12.4. Although some versions of Samba shipped with Red Hat Enterprise Linux do not support Samba in AD mode, the affected code is shipped with the libldb package. This flaw allows an authenticated user to possibly trigger a use-after-free or NULL pointer dereference. The highest threat from this vulnerability is to system availability.
  • CVE-2020-10745: (postponed; to be fixed through a stable update) A flaw was found in all Samba versions before 4.10.17, before 4.11.11 and before 4.12.4 in the way it processed NetBios over TCP/IP. This flaw allows a remote attacker could to cause the Samba server to consume excessive CPU use, resulting in a denial of service. This highest threat from this vulnerability is to system availability.
  • CVE-2020-10760: (postponed; to be fixed through a stable update) A use-after-free flaw was found in all samba LDAP server versions before 4.10.17, before 4.11.11, before 4.12.4 used in a AC DC configuration. A Samba LDAP user could use this flaw to crash samba.
  • CVE-2020-14303: (postponed; to be fixed through a stable update) A flaw was found in the AD DC NBT server in all Samba versions before 4.10.17, before 4.11.11 and before 4.12.4. A samba user could send an empty UDP packet to cause the samba server to crash.
  • CVE-2020-14318: (needs triaging) A flaw was found in the way samba handled file and directory permissions. An authenticated user could use this flaw to gain access to certain file and directory information which otherwise would be unavailable to the attacker.
  • CVE-2020-14323: (needs triaging) A null pointer dereference flaw was found in samba's Winbind service in versions before 4.11.15, before 4.12.9 and before 4.13.1. A local user could use this flaw to crash the winbind service causing denial of service.
  • CVE-2020-14383: (needs triaging) A flaw was found in samba's DNS server. An authenticated user could use this flaw to the RPC server to crash. This RPC server, which also serves protocols other than dnsserver, will be restarted after a short delay, but it is easy for an authenticated non administrative attacker to crash it again as soon as it returns. The Samba DNS server itself will continue to operate, but many RPC services will not.
  • CVE-2021-20254: (needs triaging) 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.

You can find information about how to handle these issues in the security team's documentation.

8 ignored issues:
  • CVE-2021-3670:
  • CVE-2020-25718: A flaw was found in the way samba, as an Active Directory Domain Controller, is able to support an RODC (read-only domain controller). This would allow an RODC to print administrator tickets.
  • CVE-2020-25719: A flaw was found in the way Samba, as an Active Directory Domain Controller, implemented Kerberos name-based authentication. The Samba AD DC, could become confused about the user a ticket represents if it did not strictly require a Kerberos PAC and always use the SIDs found within. The result could include total domain compromise.
  • CVE-2020-25721: Kerberos acceptors need easy access to stable AD identifiers (eg objectSid). Samba as an AD DC now provides a way for Linux applications to obtain a reliable SID (and samAccountName) in issued tickets.
  • CVE-2020-25722: Multiple flaws were found in the way samba AD DC implemented access and conformance checking of stored data. An attacker could use this flaw to cause total domain compromise.
  • CVE-2021-20316:
  • CVE-2021-43566: All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.
  • CVE-2021-44141: All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
Created: 2021-02-19 Last update: 2022-06-17 21:30
3 low-priority security issues in bullseye low

There are 3 open security issues in bullseye.

1 issue left for the package maintainer to handle:
  • CVE-2021-3670: (needs triaging)

You can find information about how to handle this issue in the security team's documentation.

2 ignored issues:
  • CVE-2021-20316:
  • CVE-2021-44141: All versions of Samba prior to 4.15.5 are vulnerable to a malicious client using a server symlink to determine if a file or directory exists in an area of the server file system not exported under the share definition. SMB1 with unix extensions has to be enabled in order for this attack to succeed.
1 issue that should be fixed with the next stable update:
  • CVE-2021-43566: All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.
Created: 2022-01-10 Last update: 2022-06-17 21:30
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.6.1 instead of 4.5.1).
Created: 2020-01-21 Last update: 2022-06-14 00:12
news
[rss feed]
  • [2022-06-18] samba 2:4.16.2+dfsg-1 MIGRATED to testing (Debian testing watch)
  • [2022-06-13] Accepted samba 2:4.16.2+dfsg-1 (source) into unstable (Michael Tokarev)
  • [2022-06-09] Accepted samba 2:4.16.1+dfsg-8~bpo11+1 (source) into bullseye-backports (Michael Tokarev)
  • [2022-06-09] samba 2:4.16.1+dfsg-8 MIGRATED to testing (Debian testing watch)
  • [2022-06-07] Accepted samba 2:4.16.1+dfsg-8 (source) into unstable (Michael Tokarev)
  • [2022-06-07] Accepted samba 2:4.16.1+dfsg-7 (source) into unstable (Michael Tokarev)
  • [2022-05-31] samba 2:4.16.1+dfsg-6 MIGRATED to testing (Debian testing watch)
  • [2022-05-29] Accepted samba 2:4.13.13+dfsg-1~deb11u4 (source) into proposed-updates->stable-new, proposed-updates (Debian FTP Masters) (signed by: Michael Tokarev)
  • [2022-05-29] Accepted samba 2:4.16.1+dfsg-6 (source) into unstable (Michael Tokarev)
  • [2022-05-28] Accepted samba 2:4.16.1+dfsg-5 (source) into unstable (Michael Tokarev)
  • [2022-05-13] Accepted samba 2:4.16.1+dfsg-4~bpo11+1 (source) into bullseye-backports (Michael Tokarev)
  • [2022-05-13] samba 2:4.16.1+dfsg-4 MIGRATED to testing (Debian testing watch)
  • [2022-05-11] Accepted samba 2:4.16.1+dfsg-4 (source) into unstable (Michael Tokarev)
  • [2022-05-10] Accepted samba 2:4.16.1+dfsg-3~bpo11+3 (source) into bullseye-backports (Michael Tokarev)
  • [2022-05-10] Accepted samba 2:4.16.1+dfsg-3~bpo11+2 (source) into bullseye-backports (Michael Tokarev)
  • [2022-05-07] Accepted samba 2:4.16.1+dfsg-3~bpo11+1 (source amd64 all) into bullseye-backports, bullseye-backports (Debian FTP Masters) (signed by: Michael Tokarev)
  • [2022-05-05] samba 2:4.16.1+dfsg-3 MIGRATED to testing (Debian testing watch)
  • [2022-05-02] Accepted samba 2:4.16.1+dfsg-3 (source) into unstable (Michael Tokarev)
  • [2022-05-02] Accepted samba 2:4.16.1+dfsg-2 (source) into unstable (Michael Tokarev)
  • [2022-05-02] Accepted samba 2:4.16.1+dfsg-1 (source) into unstable (Michael Tokarev)
  • [2022-04-27] samba 2:4.16.0+dfsg-7 MIGRATED to testing (Debian testing watch)
  • [2022-04-24] Accepted samba 2:4.16.0+dfsg-7 (source) into unstable (Michael Tokarev)
  • [2022-04-20] samba 2:4.16.0+dfsg-6 MIGRATED to testing (Debian testing watch)
  • [2022-04-09] Accepted samba 2:4.16.0+dfsg-6 (source) into unstable (Michael Tokarev)
  • [2022-04-09] Accepted samba 2:4.16.0+dfsg-5 (source) into unstable (Michael Tokarev)
  • [2022-04-08] Accepted samba 2:4.16.0+dfsg-4 (source) into unstable (Michael Tokarev)
  • [2022-04-08] Accepted samba 2:4.16.0+dfsg-3 (source) into unstable (Michael Tokarev)
  • [2022-04-07] Accepted samba 2:4.16.0+dfsg-2 (source) into unstable (Michael Tokarev)
  • [2022-04-05] Accepted samba 2:4.16.0+dfsg-1 (source) into experimental (Michael Tokarev)
  • [2022-02-13] Accepted samba 2:4.13.13+dfsg-1~deb11u3 (source) into proposed-updates->stable-new, proposed-updates (Debian FTP Masters) (signed by: Salvatore Bonaccorso)
  • 1
  • 2
bugs [bug history graph]
  • all: 102
  • RC: 0
  • I&N: 88
  • M&W: 12
  • F&P: 2
  • patch: 0
links
  • homepage
  • lintian (2, 25)
  • buildd: logs, checks, clang, reproducibility, cross
  • popcon
  • browse source code
  • edit tags
  • other distros
  • security tracker
  • screenshots
  • l10n (88, 35)
  • debci
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2:4.16.1+dfsg-8ubuntu2
  • 340 bugs (9 patches)
  • patches for 2:4.16.1+dfsg-8ubuntu2

Debian Package Tracker — Copyright 2013-2018 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing