CVE-2022-32743
Samba vulnerability analysis and mitigation

Overview

Samba contains a vulnerability (CVE-2022-32743) where it does not validate the Validated-DNS-Host-Name right for the dNSHostName attribute, which could permit unprivileged users to write it. The vulnerability was discovered in September 2022 and affects Samba versions from 4.1.0 onwards (NVD, Samba Bugzilla).

Technical details

The vulnerability stems from a failure to properly implement the Validated-DNS-Host-Name right validation, which should only apply to objects with class computer or server. According to Microsoft's specifications, the dNSHostName attribute should be in the format computerName.fullDomainDnsName, where computerName is the current sAMAccountName without the final '$' character (MS Documentation). The vulnerability has a CVSS v3.1 base score of 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N (NVD).

Impact

The vulnerability allows unprivileged users to modify the dNSHostName attribute, which could potentially lead to DNS-related security issues. The dNSHostName suffix can be changed freely, which might affect systems that rely on this attribute for identification or authentication purposes (Samba Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in newer versions of Samba. Users are advised to upgrade to patched versions. For Fedora users, updates were provided in version 4.17.0, and for Gentoo users, the fix is included in version 4.18.4 (Fedora Update, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related Samba vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-10230CRITICAL10
  • SambaSamba
  • libnetapi-devel
NoYesNov 07, 2025
CVE-2020-25720HIGH7.5
  • SambaSamba
  • samba-devel
NoYesNov 17, 2024
CVE-2025-0620MEDIUM4.9
  • SambaSamba
  • samba-libs-32bit
NoYesJun 06, 2025
CVE-2025-9640MEDIUM4.3
  • SambaSamba
  • samba-vfs-iouring
NoYesOct 15, 2025
CVE-2025-58160LOW2.3
  • RustRust
  • rust-monitord-exporter
NoYesAug 29, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management