NIXPKGS-2025-0013
published on 14 Dec 2025
Permalink
CVE-2025-10230
10.0 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): NONE
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
by @mweinelt Activity log
- Created automatic suggestion
- @mweinelt removed package sambamba
- @mweinelt accepted
- @mweinelt published on GitHub
Samba: command injection in wins server hook script
A flaw was found in Samba, in the front-end WINS hook handling: NetBIOS names from registration packets are passed to a shell without proper validation or escaping. Unsanitized NetBIOS name data from WINS registration packets are inserted into a shell command and executed by the Samba Active Directory Domain Controller’s wins hook, allowing an unauthenticated network attacker to achieve remote command execution as the Samba process.
References
- https://access.redhat.com/security/cve/CVE-2025-10230 x_refsource_REDHAT vdb-entry
- RHBZ#2394377 issue-tracking x_refsource_REDHAT
- https://www.samba.org/samba/history/security.html
- https://www.samba.org/samba/history/security.html
- https://access.redhat.com/security/cve/CVE-2025-10230 x_refsource_REDHAT vdb-entry
- RHBZ#2394377 issue-tracking x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2025-10230 x_refsource_REDHAT vdb-entry
- RHBZ#2394377 issue-tracking x_refsource_REDHAT
- https://www.samba.org/samba/history/security.html
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-mitigate-samba-vulnerabil…
- https://www.vicarius.io/vsociety/posts/cve-2025-10230-detect-samba-vulnerability
Affected products
rhcos
samba
- <4.23.2
- <4.21.9
- <4.21.5
samba4
Matching in nixpkgs
pkgs.samba
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.samba4
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.sambaFull
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.samba4Full
Standard Windows interoperability suite of programs for Linux and Unix
Package maintainers
-
@aneeshusa Aneesh Agrawal <aneeshusa@gmail.com>