Details of issue NIXPKGS-2025-0013
affected
created 14 Dec 2025
NIXPKGS-2025-0013
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.
Vulnerabilities
Related packages
pkgs.samba
pkgs.samba4
pkgs.sambamba
pkgs.sambaFull
Fixed in: https://github.com/NixOS/nixpkgs/pull/433796 https://github.com/NixOS/nixpkgs/pull/452396