Skip to content
OpenAdvisories
Unscored CVE-2011-1678 EUVD-2011-1678GHSA-v7g7-rpcw-4f58

smbfs in Samba 3.5.8 and earlier attempts to use (1) mount.cifs to append to the /etc/mtab file and (2) umount.cifs to append to the /etc/m…

Published Apr 10, 2011 · Updated Aug 6, 2024 · Assigned by mitre

Description

smbfs in Samba 3.5.8 and earlier attempts to use (1) mount.cifs to append to the /etc/mtab file and (2) umount.cifs to append to the /etc/mtab.tmp file without first checking whether resource limits would interfere, which allows local users to trigger corruption of the /etc/mtab file via a process with a small RLIMIT_FSIZE value, a related issue to CVE-2011-1089.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cifs-utils 2:5.1-1 —
Debian 14 samba 2:3.4.7~dfsg-2 —
Debian 13 cifs-utils 2:5.1-1 —
Debian 13 samba 2:3.4.7~dfsg-2 —
Debian 12 cifs-utils 2:5.1-1 —
Debian 12 samba 2:3.4.7~dfsg-2 —
ReleasePackageFixed inAdvisory
RHEL 6 cifs-utils 4.8.1-2.el6_1.2 RHSA-2011:1221
RHEL 6 samba +11 3.5.6-86.el6_1.4 RHSA-2011:1221
RHEL 5 samba +5 3.0.33-3.29.el5_7.4 RHSA-2011:1219
RHEL 5 samba3x +7 3.5.4-0.83.el5_7.2 RHSA-2011:1220
RHEL 4 samba +3 3.0.33-0.34.el4 RHSA-2011:1219

Advisories 3

References