Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 821688 (CVE-2016-2124, CVE-2020-25717, CVE-2020-25718, CVE-2020-25719, CVE-2020-25721, CVE-2020-25722, CVE-2021-23192, CVE-2021-3738)

Summary: <net-fs/samba-{4.14.10,4.15.2}: multiple vulnerabilities
Product: Gentoo Security Reporter: John Helmert III <ajak>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: minor CC: hydrapolic, samba
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://lists.samba.org/archive/samba-announce/2021/000582.html
Whiteboard: B3 [glsa+]
Package list:
Runtime testing required: ---
Bug Depends on: 827915    
Bug Blocks:    

Description John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-04 16:05:56 UTC
"Hi,

this is a heads-up that there will be Samba security updates
on Tuesday, November 9. Please make sure that your Samba servers
will be updated immediately after the release!

Impacted components:

* AD DC (CVSS 8.8, high)
* AD Domain member (CVSS 8.1, high)
* File server (CVSS 4.8 medium)"
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-11-09 19:45:00 UTC
"o CVE-2016-2124:  SMB1 client connections can be downgraded to plaintext
                  authentication.
                  https://www.samba.org/samba/security/CVE-2016-2124.html

o CVE-2020-25717: A user on the domain can become root on domain members.
                  https://www.samba.org/samba/security/CVE-2020-25717.html
                  (PLEASE READ! There are important behaviour changes described)

o CVE-2020-25718: Samba AD DC did not correctly sandbox Kerberos tickets issued
                  by an RODC.
                  https://www.samba.org/samba/security/CVE-2020-25718.html

o CVE-2020-25719: Samba AD DC did not always rely on the SID and PAC in Kerberos
                  tickets.
                  https://www.samba.org/samba/security/CVE-2020-25719.html

o CVE-2020-25721: Kerberos acceptors need easy access to stable AD identifiers
                  (eg objectSid).
                  https://www.samba.org/samba/security/CVE-2020-25721.html

o CVE-2020-25722: Samba AD DC did not do suffienct access and conformance
                  checking of data stored.
                  https://www.samba.org/samba/security/CVE-2020-25722.html

o CVE-2021-3738:  Use after free in Samba AD DC RPC server.
                  https://www.samba.org/samba/security/CVE-2021-3738.html

o CVE-2021-23192: Subsequent DCE/RPC fragment injection vulnerability.
                  https://www.samba.org/samba/security/CVE-2021-23192.html

There's sadly a regression that "allow trusted domains = no" prevents winbindd
from starting, we'll try to provide a follow up fix as soon as possible."
Comment 2 Larry the Git Cow gentoo-dev 2021-11-10 07:43:57 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a4dc9b78154f039478d1cf25c6beef74c56588

commit 88a4dc9b78154f039478d1cf25c6beef74c56588
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-11-10 06:49:22 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-11-10 07:43:43 +0000

    net-fs/samba: Security bump to versions 4.14.10 and 4.15.2
    
    Bug: https://bugs.gentoo.org/821688
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-fs/samba/Manifest             |   2 +
 net-fs/samba/samba-4.14.10.ebuild | 343 ++++++++++++++++++++++++++++++++++++++
 net-fs/samba/samba-4.15.2.ebuild  | 340 +++++++++++++++++++++++++++++++++++++
 3 files changed, 685 insertions(+)
Comment 3 Matt Turner gentoo-dev 2021-11-30 18:16:21 UTC
Poly, are we ready for stabilization here?
Comment 4 Larry the Git Cow gentoo-dev 2021-12-03 15:39:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96c00c4dd1a84dd1b7d4bb24b1c32da67d53d353

commit 96c00c4dd1a84dd1b7d4bb24b1c32da67d53d353
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-12-03 15:38:37 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-12-03 15:39:06 +0000

    net-fs/samba: Security cleanup
    
    Bug: https://bugs.gentoo.org/821688
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-fs/samba/Manifest            |   1 -
 net-fs/samba/samba-4.14.9.ebuild | 339 ---------------------------------------
 2 files changed, 340 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-09-17 05:56:58 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=5bfe8198b2352fa0ac46dbc59d078650dc544a7e

commit 5bfe8198b2352fa0ac46dbc59d078650dc544a7e
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2023-09-17 05:56:23 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-09-17 05:56:46 +0000

    [ GLSA 202309-06 ] Samba: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/820566
    Bug: https://bugs.gentoo.org/821688
    Bug: https://bugs.gentoo.org/830983
    Bug: https://bugs.gentoo.org/832433
    Bug: https://bugs.gentoo.org/861512
    Bug: https://bugs.gentoo.org/866225
    Bug: https://bugs.gentoo.org/869122
    Bug: https://bugs.gentoo.org/878273
    Bug: https://bugs.gentoo.org/880437
    Bug: https://bugs.gentoo.org/886153
    Bug: https://bugs.gentoo.org/903621
    Bug: https://bugs.gentoo.org/905320
    Bug: https://bugs.gentoo.org/910334
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 glsa-202309-06.xml | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 86 insertions(+)