CVE-2020-10760: Use After Free

Published Jun 22, 2020
·
Updated

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.

Other sources

As per upstream advisory:

Samba 4.5 and later implements VLV - Virtual List View, and Samba 4.10 and later reimplemented the pagedresults control using similar code.

This code is more memory-efficient, storing only a pointer to the object, not the returned object. However this means parts of the original request must be retained

When these controls are used by a client that connects to the Global Catalog server, these modules failed to correctly retain the control data along with the request, causing a use-after-free and an abort when this is detected by the talloc library.

NOTE WELL: Unsupported Samba versions before Samba 4.7 use a single process for the LDAP servers.

All versions of Samba after Samba 4.11 use the 'prefork' process model to create a shared connection pool. Crashing servers are restarted, but service is disrupted.

Red Hat

Affected Software

17 affected componentsFixes available
ubuntu/samba<2:4.11.6+dfsg-0ubuntu1.3
2:4.11.6+dfsg-0ubuntu1.3
ubuntu/samba<2:4.7.6+dfsg~ubuntu-0ubuntu2.17
2:4.7.6+dfsg~ubuntu-0ubuntu2.17
ubuntu/samba<2:4.10.7+dfsg-0ubuntu2.6
2:4.10.7+dfsg-0ubuntu2.6
ubuntu/samba<4.10.17, <4.11.10, <4.12.4
4.10.174.11.104.12.4
redhat/samba<4.10.17
4.10.17
redhat/samba<4.11.11
4.11.11
redhat/samba<4.12.4
4.12.4
debian/samba<=2:4.9.5+dfsg-5+deb10u3, <=2:4.9.5+dfsg-5+deb10u4
2:4.13.13+dfsg-1~deb11u52:4.17.12+dfsg-0+deb12u12:4.19.4+dfsg-3
Samba Samba>=4.5.0<4.10.17
Samba Samba>=4.11.0<4.11.11
Samba Samba>=4.12.0<4.12.4
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=19.10
Canonical Ubuntu Linux=20.04
openSUSE Leap=15.1
openSUSE Leap=15.2
Fedoraproject Fedora=31

Event History

Jul 2, 2020
CVE Published
via Ubuntu·12:00 AM
Jul 6, 2020
CVE Published
via MITRE·06:02 PM
Data Sourced
via MITRE·06:02 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:36 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-10760?

CVE-2020-10760 is a use-after-free vulnerability found in all Samba LDAP server versions before 4.10.17, before 4.11.11, before 4.12.4 used in an AC DC configuration.

2

How does CVE-2020-10760 impact Samba LDAP server?

CVE-2020-10760 can be exploited by a Samba LDAP user to cause a denial of service (crash) in the Samba LDAP server.

3

What is the severity of CVE-2020-10760?

CVE-2020-10760 has a severity rating of 6.5 (Medium).

4

Which versions of Samba LDAP server are affected by CVE-2020-10760?

All Samba LDAP server versions before 4.10.17, before 4.11.11, and before 4.12.4 are affected by CVE-2020-10760.

5

How can I fix CVE-2020-10760 in my Samba LDAP server?

To fix CVE-2020-10760, update your Samba LDAP server to version 4.10.17, 4.11.11, or 4.12.4, depending on the version you are using.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203