DescriptionIt was found that cifs-utils' mount.cifs was invoking a shell when requesting the Samba password, which could be used to inject arbitrary commands. An attacker able to invoke mount.cifs with special permission, such as via sudo rules, could use this flaw to escalate their privileges.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs970172

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cifs-utils (PTS)buster, buster (security)2:6.8-2+deb10u1vulnerable
bullseye (security), bullseye2:6.11-3.1+deb11u1fixed
bookworm, sid2:7.0-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs


[buster] - cifs-utils <no-dsa> (Minor issue)
[stretch] - cifs-utils <no-dsa> (Minor issue);a=commit;h=48a654e2e763fce24c22e1b9c695b42804bbdd4a

Search for package or bug name: Reporting problems