# CVE-2021-3670: samba-vfs-modules: MaxQueryDuration not honoured in Samba AD DC LDAP

CVE-2021-3670 is fixed in 19 products on 1 platform, first by ctdb 2:4.13.17~dfsg-0ubuntu1.20.04.1, released July 26, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-3670
- Priority: Routine
- CVSS: 6.5 (Low)
- EPSS: 0.0233
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Dec 30, 2021

## Description

MaxQueryDuration not honoured in Samba AD DC LDAP

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ctdb Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [ctdb 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ctdb-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | ldb-tools Ubuntu 20.04 LTS (focal) | 2:2.2.3-0ubuntu0.20.04.3 | [ldb-tools 2:2.2.3-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ldb-tools-2-2.2.3-0ubuntu0.20.04.3.md) | Jul 26, 2022 |
| Linux | libldb2 Ubuntu 20.04 LTS (focal) | 2:2.2.3-0ubuntu0.20.04.3 | [libldb2 2:2.2.3-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libldb2-2-2.2.3-0ubuntu0.20.04.3.md) | Jul 26, 2022 |
| Linux | libnss-winbind Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [libnss-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libnss-winbind-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | libpam-winbind Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [libpam-winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libpam-winbind-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | libsmbclient Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [libsmbclient 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libsmbclient-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | libwbclient0 Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [libwbclient0 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libwbclient0-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | python3-ldb Ubuntu 20.04 LTS (focal) | 2:2.2.3-0ubuntu0.20.04.3 | [python3-ldb 2:2.2.3-0ubuntu0.20.04.3](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-ldb-2-2.2.3-0ubuntu0.20.04.3.md) | Jul 26, 2022 |
| Linux | python3-samba Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [python3-samba 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-python3-samba-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | registry-tools Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [registry-tools 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-registry-tools-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba Debian 12.15 (bookworm) | 2:4.16.0+dfsg-2 | [DEBIAN-CVE-2021-3670](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3670.md) | Aug 23, 2022 |
| Linux | samba Debian 13.5 (trixie) | 2:4.16.0+dfsg-2 | [DEBIAN-CVE-2021-3670](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3670.md) | Aug 23, 2022 |
| Linux | samba Debian 14 | 2:4.16.0+dfsg-2 | [DEBIAN-CVE-2021-3670](https://patchblox.com/security/data/fix/linux/debian-cve-2021-3670.md) | Aug 23, 2022 |
| Linux | samba Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-common Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-common 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-common-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-common-bin Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-common-bin 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-common-bin-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-dsdb-modules Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-dsdb-modules 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-dsdb-modules-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-libs Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-libs 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-libs-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-testsuite Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-testsuite 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-testsuite-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | samba-vfs-modules Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [samba-vfs-modules 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-samba-vfs-modules-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | smbclient Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [smbclient 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-smbclient-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |
| Linux | winbind Ubuntu 20.04 LTS (focal) | 2:4.13.17~dfsg-0ubuntu1.20.04.1 | [winbind 2:4.13.17~dfsg-0ubuntu1.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-winbind-2-4.13.17-dfsg-0ubuntu1.20.04.1.md) | Jul 26, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
