CVE-2021-3670
published 2022-08-09CVE-2021-3670: MaxQueryDuration not honoured in Samba AD DC LDAP FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore…
medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
1.72%
75.1th percentile
MaxQueryDuration not honoured in Samba AD DC LDAP
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.microsoft.com/en-us/azure/azure-linux/tutorial-azure-linux-upgrade
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ldb | < ldb 2:2.2.3-1 (bullseye) | ldb 2:2.2.3-1 (bullseye) |
| debian | samba | < ldb 2:2.2.3-1 (bullseye) | ldb 2:2.2.3-1 (bullseye) |
| msrc | cbl2_samba_on_cbl_mariner_2.0 | — | — |
| samba | samba | >= 0 < 2:4.13.17~dfsg-0ubuntu1.20.04.1 | 2:4.13.17~dfsg-0ubuntu1.20.04.1 |
| samba | samba | >= 0 < 2:4.15.9+dfsg-0ubuntu0.2 | 2:4.15.9+dfsg-0ubuntu0.2 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
MaxQueryDuration not honoured in Samba AD DC LDAP
vendor_msrc·2022-08-09·CVSS 6.5
CVE-2021-3670 [MEDIUM] CWE-400 MaxQueryDuration not honoured in Samba AD DC LDAP
MaxQueryDuration not honoured in Samba AD DC LDAP
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.mic
Ubuntu
Samba vulnerabilities
vendor_ubuntu·2022-08-01·CVSS 6.5
CVE-2022-32744 [MEDIUM] Samba vulnerabilities
Title: Samba vulnerabilities
Summary: Several security issues were fixed in Samba.
It was discovered that Samba did not handle MaxQueryDuration when being
used in AD DC configurations, contrary to expectations. This issue only
affected Ubuntu 20.04 LTS. (CVE-2021-3670)
Luke Howard discovered that Samba incorrectly handled certain restrictions
associated with changing passwords. A remote attacker being requested to
change passwords could possibly use this issue to escalate privileges.
(CVE-2022-2031)
Luca Moro discovered that Samba incorrectly handled certain SMB1
communications. A remote attacker could possibly use this issue to obtain
sensitive memory contents. (CVE-2022-32742)
Joseph Sutton discovered that Samba incorrectly handled certain password
change requests. A remote attacker
Red Hat
samba: MaxQueryDuration not honoured in Samba AD DC LDAP
vendor_redhat·2022-04-12·CVSS 6.5
CVE-2021-3670 [MEDIUM] CWE-400 samba: MaxQueryDuration not honoured in Samba AD DC LDAP
samba: MaxQueryDuration not honoured in Samba AD DC LDAP
MaxQueryDuration not honoured in Samba AD DC LDAP
Statement: Versions of samba shipped in Red Hat Enterprise Linux are not affected because the Samba AD is not shipped with our binary RPMs, only its source code is present in our code base.
Red Hat Enterprise Virtualization 4 consumes RHEL-8 samba, and as RHEL-8 is not affected, Hence, RHEV is also not affected.
Package: samba (Red Hat Enterprise Linux 6) - Not affected
Package: samba4 (Red Hat Enterprise Linux 6) - Not affected
Package: samba (Red Hat Enterprise Linux 7) - Not affected
Package: samba (Red Hat Enterprise Linux 8) - Not affected
Package: samba (Red Hat Enterprise Linux 9) - Not affected
Package: samba (Red Hat Storage 3) - Not affected
Package: samba (Red Hat
Debian
CVE-2021-3670: ldb - MaxQueryDuration not honoured in Samba AD DC LDAP
vendor_debian·2021·CVSS 6.5
CVE-2021-3670 [MEDIUM] CVE-2021-3670: ldb - MaxQueryDuration not honoured in Samba AD DC LDAP
MaxQueryDuration not honoured in Samba AD DC LDAP
Scope: local
bullseye: resolved (fixed in 2:2.2.3-1)
OSV
samba vulnerabilities
osv·2022-08-01·CVSS 6.5
CVE-2021-3670 [MEDIUM] samba vulnerabilities
samba vulnerabilities
It was discovered that Samba did not handle MaxQueryDuration when being
used in AD DC configurations, contrary to expectations. This issue only
affected Ubuntu 20.04 LTS. (CVE-2021-3670)
Luke Howard discovered that Samba incorrectly handled certain restrictions
associated with changing passwords. A remote attacker being requested to
change passwords could possibly use this issue to escalate privileges.
(CVE-2022-2031)
Luca Moro discovered that Samba incorrectly handled certain SMB1
communications. A remote attacker could possibly use this issue to obtain
sensitive memory contents. (CVE-2022-32742)
Joseph Sutton discovered that Samba incorrectly handled certain password
change requests. A remote attacker could use this issue to change passwords
of other users, resu
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2022-08-09
Published