CVE-2020-10745: High severity Samba Samba vulnerability

Published Jun 22, 2020
·
Updated

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.

Other sources

As per upstream advisory:

The NetBIOS over TCP/IP name resolution protocol is framed using the same format as DNS, and Samba's packing code for both uses DNS name compression.

An attacker can choose a name which, when the name is included in the reply, causes the DNS name compression algorithm to walk a very long internal list while trying to compress the reply. This in in part because the traditional "." separator in DNS is not actually part of the DNS protocol, the limit of 128 components is exceeded by including "." inside the components.

Specifically, the longest label is 63 characters, and Samba enforces a limit of 128 components. That means you can make a query for the address with 127 components, each of which is "...............................................................".

In processing that query, Samba rewrites the name in dot-separated form, then converts it back to the wire format in order to reply. Unfortunately for Samba, it now finds the name is just 8127 dots, which it duly converts into over 8127 zero length labels.

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<2:4.3.11+dfsg-0ubuntu0.14.04.20+
2:4.3.11+dfsg-0ubuntu0.14.04.20+
ubuntu/samba<4.10.17, <4.11.10, <4.12.4
4.10.174.11.104.12.4
ubuntu/samba<2:4.3.11+dfsg-0ubuntu0.16.04.28
2:4.3.11+dfsg-0ubuntu0.16.04.28
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.0.0<4.10.17
Samba Samba>=4.11.0<4.11.11
Samba Samba>=4.12.0<4.12.4
Fedoraproject Fedora=31
openSUSE Leap=15.1
openSUSE Leap=15.2
Debian Debian Linux=9.0

Event History

Jul 2, 2020
CVE Published
via Ubuntu·12:00 AM
Jul 7, 2020
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 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-10745?

CVE-2020-10745 is a vulnerability found in all Samba versions before 4.10.17, before 4.11.11, and before 4.12.4, which allows a remote attacker to cause the Samba server to consume excessive CPU use, resulting in a denial of service.

2

What is the severity of CVE-2020-10745?

The severity of CVE-2020-10745 is high with a CVSS score of 7.5.

3

How does CVE-2020-10745 affect Samba?

CVE-2020-10745 affects all Samba versions before 4.10.17, before 4.11.11, and before 4.12.4.

4

How can I fix CVE-2020-10745?

To fix CVE-2020-10745, you should update your Samba software to version 4.10.17 or later, 4.11.11 or later, or 4.12.4 or later.

5

Where can I find more information about CVE-2020-10745?

You can find more information about CVE-2020-10745 in the references provided: [link1], [link2], [link3].

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