CVE-2022-32743
published 2022-09-01CVE-2022-32743: Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
PriorityP338high7.5CVSS 3.1
AVNACLPRNUINSUCNIHAN
EPSS
1.15%
63.2th percentile
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | samba | < samba 2:4.17.2+dfsg-3 (bookworm) | samba 2:4.17.2+dfsg-3 (bookworm) |
| fedoraproject | fedora | — | — |
| msrc | cbl2_samba_on_cbl_mariner_2.0 | — | — |
| samba | samba | — | — |
| samba | samba | >= 0 < 2:4.17.2+dfsg-3 | 2:4.17.2+dfsg-3 |
| samba | samba | >= 0 < 2:4.17.2+dfsg-3 | 2:4.17.2+dfsg-3 |
| samba | samba | >= 0 < 2:4.17.2+dfsg-3 | 2:4.17.2+dfsg-3 |
| samba | samba | >= 4.1.0 < 4.17.0 | 4.17.0 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
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
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
vendor_msrc·2022-09-13·CVSS 7.5
CVE-2022-32743 [HIGH] CWE-276 Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
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
Custo
Red Hat
samba: Validated dnsHostname write right needs to be implemented
vendor_redhat·2022-08-24·CVSS 7.5
CVE-2022-32743 [HIGH] CWE-276 samba: Validated dnsHostname write right needs to be implemented
samba: Validated dnsHostname write right needs to be implemented
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
A flaw was found in samba that validates the domain name system's host name. This issue links a trailing $ to objectclass=computer, which helps avoid the creation of SPN values that collide with other, possibly privileged hosts.
Statement: This security issue only affects the Samba Active Directory support. We do not ship this in RHEL; thus, it is not affected.
Package: samba (Red Hat Enterprise Linux 7) - Out of support scope
Package: samba (Red Hat Enterprise Linux 8) - Not affected
Package: samba (Red Hat Enterprise Linux 9) - Not affected
Package: samba (Red Hat Storage 3) - Und
Debian
CVE-2022-32743: samba - Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName at...
vendor_debian·2022·CVSS 7.5
CVE-2022-32743 [HIGH] CVE-2022-32743: samba - Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName at...
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
Scope: local
bookworm: resolved (fixed in 2:4.17.2+dfsg-3)
bullseye: open
forky: resolved (fixed in 2:4.17.2+dfsg-3)
sid: resolved (fixed in 2:4.17.2+dfsg-3)
trixie: resolved (fixed in 2:4.17.2+dfsg-3)
VulDB
Samba up to 4.16.x dNSHostName default permission (FEDORA-2022-4555909843 / EUVD-2022-35809)
vuldb·2026-06-01·CVSS 7.5
CVE-2022-32743 [HIGH] Samba up to 4.16.x dNSHostName default permission (FEDORA-2022-4555909843 / EUVD-2022-35809)
A vulnerability was found in Samba up to 4.16.x and classified as critical. Affected by this issue is some unknown functionality. Executing a manipulation of the argument dNSHostName can lead to incorrect default permissions.
This vulnerability is handled as CVE-2022-32743. The attack can only be done within the local network. There is not any exploit available.
It is suggested to upgrade the affected component.
GHSA
GHSA-57p4-2x7w-phr2: Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it
ghsa_unreviewed·2022-09-02
CVE-2022-32743 [HIGH] CWE-276 GHSA-57p4-2x7w-phr2: Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
OSV
CVE-2022-32743: Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it
osv·2022-09-01·CVSS 7.5
CVE-2022-32743 [HIGH] CVE-2022-32743: Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it
Samba does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute which could permit unprivileged users to write it.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://bugzilla.samba.org/show_bug.cgi?id=14833https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/5c578b15-d619-408d-ba17-380714b89fd1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTTOLTHUHOV4SHCHCB5TAA4FQVJAWN4P/https://security.gentoo.org/glsa/202309-06https://bugzilla.samba.org/show_bug.cgi?id=14833https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/5c578b15-d619-408d-ba17-380714b89fd1https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZTTOLTHUHOV4SHCHCB5TAA4FQVJAWN4P/https://security.gentoo.org/glsa/202309-06
2022-09-01
Published