1.2
CWE
20
Advisory Published
CVE Published
Updated

CVE-2011-2724: Input Validation

First published: Fri Jul 29 2011(Updated: )

Originally the <a href="https://access.redhat.com/security/cve/CVE-2010-0547">CVE-2010-0547</a> identifier has been assigned by Common Vulnerabilities and Exposures to the following security issue: client/mount.cifs.c in mount.cifs in smbfs in Samba 3.4.5 and earlier does not verify that the (1) device name and (2) mountpoint strings are composed of valid characters, which allows local users to cause a denial of service (mtab corruption) via a crafted string. Later a bug was found in the upstream patch for this issue. More specifically: check_mtab() calls check_newline() to check device and directory name. check_newline() returns EX_USAGE (1) when error is detected, while check_mtab() expects -1 to indicate an error. This bug in original <a href="https://access.redhat.com/security/cve/CVE-2010-0547">CVE-2010-0547</a> fix (not to propagate the error properly) caused mount.cifs command on specially-crafted mount point (containing newline character) still to succeed and potentially, to corrupt mtab table on the systems, where <a href="https://access.redhat.com/security/cve/CVE-2010-0296">CVE-2010-0296</a> glibc fix was not applied yet. Proposed upstream patch by Jeff Layton: [1] <a href="http://thread.gmane.org/gmane.linux.kernel.cifs/3827">http://thread.gmane.org/gmane.linux.kernel.cifs/3827</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Samba Samba=3.0.19
Samba Samba=3.0.23-c
Samba Samba=3.0.14a
Samba Samba=2.2.1a
Samba Samba=3.0.27
Samba Samba=3.0.31
Samba Samba=3.0.3
Samba Samba=2.0.10
Samba Samba=2.2.12
Samba Samba=3.0.8
Samba Samba=3.2.15
Samba Samba=3.3.3
Samba Samba=2.2.3-a
Samba Samba=3.5.1
Samba Samba=3.0.23-b
Samba Samba=3.0.29
Samba Samba=3.0.25-pre2
Samba Samba=2.0.1
Samba Samba=3.0.25b
Samba Samba=3.2.5
Samba Samba=3.4.2
Samba Samba=2.2.3a
Samba Samba=3.5.9
Samba Samba=3.2.3
Samba Samba=1.9.18-p2
Samba Samba=2.0.2
Samba Samba=3.5.7
Samba Samba=3.3.15
Samba Samba=3.4.11
Samba Samba=3.0.2a
Samba Samba=3.0.36
Samba Samba=3.4.0
Samba Samba=3.0.28-a
Samba Samba=3.2.4
Samba Samba=3.4.7
Samba Samba=3.0.5
Samba Samba=1.9.17-p5
Samba Samba=3.0.26-a
Samba Samba=1.9.18-p1
Samba Samba=3.3.9
Samba Samba=3.4.8
Samba Samba=2.2.8a
Samba Samba=2.2-a
Samba Samba=3.0.21-a
Samba Samba=3.0.28
Samba Samba=3.4.5
Samba Samba=3.0.32
Samba Samba=3.0.26a
Samba Samba=3.2.13
Samba Samba=3.0.6
Samba Samba=1.9.18-p4
Samba Samba=3.4.6
Samba Samba=2.18.3
Samba Samba=3.0.21a
Samba Samba=3.0.34
Samba Samba=3.0.25-rc1
Samba Samba=1.9.17-p1
Samba Samba=1.9.18-p10
Samba Samba=3.0.23
Samba Samba=3.2.1
Samba Samba=3.0.4-rc1
Samba Samba=3.5.6
Samba Samba=2.2.0-a
Samba Samba=3.3.4
Samba Samba=3.0.33
Samba Samba=1.9.17
Samba Samba=3.0.25-b
Samba Samba=3.0.21-b
Samba Samba=3.0.20a
Samba Samba=3.3.12
Samba Samba=2.2.9
Samba Samba=2.2.3
Samba Samba=3.0.21b
Samba Samba=2.0.6
Samba Samba=3.0.20-a
Samba Samba=3.3.7
Samba Samba=3.4.1
Samba Samba=3.0.0
Samba Samba=2.2.11
Samba Samba=3.5.8
Samba Samba=1.9.18-p3
Samba Samba=3.0.9
Samba Samba=2.2.8-a
Samba Samba=3.2.9
Samba Samba=3.5.2
Samba Samba=3.0.11
Samba Samba=2.0.4
Samba Samba=3.0.7
Samba Samba=2.2.1
Samba Samba=3.0.13
Samba Samba=3.3.1
Samba Samba=3.2.2
Samba Samba=1.9.18-p8
Samba Samba=3.2.7
Samba Samba=3.0.14-a
Samba Samba=3.0.20b
Samba Samba=3.0.21-c
Samba Samba=2.2.7a
Samba Samba=3.0.16
Samba Samba=1.9.17-p2
Samba Samba=2.0
Samba Samba=3.4.12
Samba Samba=3.2.10
Samba Samba=3.0.17
Samba Samba=2.2.4
Samba Samba=2.0.9
Samba Samba=3.0.21
Samba Samba=3.0.26
Samba Samba=3.0.14
Samba Samba=1.9.18-p6
Samba Samba=3.4.13
Samba Samba=3.0.25-pre1
Samba Samba=1.9.18-p7
Samba Samba=3.0.30
Samba Samba=2.0.3
Samba Samba=3.0.21c
Samba Samba=3.3.11
Samba Samba=3.0.20-b
Samba Samba=3.3.0
Samba Samba=2.2a
Samba Samba=3.4.10
Samba Samba=3.0.23b
Samba Samba=3.3.6
Samba Samba=3.0.25-rc3
Samba Samba=3.5.5
Samba Samba=3.3.14
Samba Samba=3.5.0
Samba Samba=3.0.23-a
Samba Samba=2.2.6
Samba Samba=2.2.8
Samba Samba=3.0.2
Samba Samba=3.0.12
Samba Samba=3.2.12
Samba Samba=3.0.37
Samba Samba=1.9.18
Samba Samba=3.0.20
Samba Samba=2.2.0a
Samba Samba=3.2.8
Samba Samba=3.0.35
Samba Samba=3.0.18
Samba Samba=2.0.7
Samba Samba=2.0.8
Samba Samba=3.0.23-d
Samba Samba=2.0.5-a
Samba Samba=3.0.2-a
Samba Samba=3.0.25a
Samba Samba=3.0.25c
Samba Samba=1.9.17-p3
Samba Samba=3.3.2
Samba Samba=3.0.24
Samba Samba=3.5.4
Samba Samba=3.0.10
Samba Samba=3.2.11
Samba Samba=2.0.5a
Samba Samba=3.4.4
Samba Samba=2.2.2
Samba Samba=2.0.5
Samba Samba=3.1.0
Samba Samba=2.2.10
Samba Samba=3.4.3
Samba Samba=3.0.27-a
Samba Samba=3.3.8
Samba Samba=2.2.1-a
Samba Samba=3.3.13
Samba Samba=3.2.14
Samba Samba=3.0.23d
Samba Samba=3.4.14
Samba Samba=3.0.25-rc2
Samba Samba=2.2.0
Samba Samba=3.4.9
Samba Samba=2.0.0
Samba Samba=3.2.0
Samba Samba=2.2.5
Samba Samba=3.3.5
Samba Samba=3.0.25-a
Samba Samba=3.0.23c
Samba Samba=3.0.15
Samba Samba=3.2.6
Samba Samba=1.9.18-p5
Samba Samba=1.9.17-p4
Samba Samba=2.2.7
Samba Samba=3.0.23a
Samba Samba=3.0.25-c
Samba Samba=3.0.4
Samba Samba=3.3.10
Samba Samba=2.2.7-a
Samba Samba=3.0.25
Samba Samba=3.0.1
Samba Samba=3.3.16
Samba Samba<=3.5.10
Samba Samba=3.0.22
Samba Samba=3.5.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203