{"id":"CVE-2004-0186","aliases":["DEBIAN-CVE-2004-0186","DSA-463","EUVD-2004-0186","GHSA-99qv-m5mw-g4v6"],"status":"published","title":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root...","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","severity":{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01595,"percentile":0.75885,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2004-03-12T00:00:00Z","modified":"2026-10-21T15:47:23Z","exploits":[{"source":"exploitdb","id":"EDB-23674","title":"Samba 2.2.8 (Linux Kernel 2.6 / Debian / Mandrake) - Share Privilege Escalation","type":"local","platform":"linux","date":"2004-02-09","verified":true,"url":"https://www.exploit-db.com/exploits/23674"}],"fixes":[{"ecosystem":"Debian:12","package":"samba","fixed_in":["3.0.2-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"samba","fixed_in":["3.0.2-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"samba","fixed_in":["3.0.2-2"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"samba","fixed_in":["2.2.3a-13"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.2-2"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3a-13"}]}]}],"products":[{"vendor":"linux","product":"linux_kernel"},{"vendor":"samba","product":"samba"}],"references":[{"url":"http://marc.info/?l=bugtraq\u0026m=107657505718743\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.osvdb.org/3916","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/15131","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=107636290906296\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-463","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/bid/9619","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Vendor Advisory","advisory","evidence","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0186"},{"url":"https://github.com/advisories/GHSA-99qv-m5mw-g4v6"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0186","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0186","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T00:10:03.679Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0186","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T00:10:03Z","updated_at":"2026-11-03T01:15:20.586153Z"}],"ghsa":[{"id":"GHSA-99qv-m5mw-g4v6","title":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root...","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2022-04-29T02:57:18Z","modified":"2023-01-30T05:02:30Z","updated_at":"2026-11-02T14:46:38.945282Z"}],"nvd":[{"id":"CVE-2004-0186","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2004-03-15T05:00:00Z","modified":"2026-06-16T22:05:07.707Z","cvss":[{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:49.729639Z"}],"osv":[{"id":"CVE-2004-0186","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2004-03-15T05:00:00Z","modified":"2026-04-10T03:36:23.177841Z","updated_at":"2026-11-02T15:43:55.998148Z"},{"id":"DEBIAN-CVE-2004-0186","description":"smbmnt in Samba 2.x and 3.x on Linux 2.6, when installed setuid, allows local users to gain root privileges by mounting a Samba share that contains a setuid root program, whose setuid attributes are not cleared when the share is mounted.","status":"published","published":"2004-03-15T05:00:00Z","modified":"2026-10-21T15:47:23.584288456Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-463","title":"samba - privilege escalation","status":"published","published":"2004-03-12T00:00:00Z","modified":"2026-03-09T02:08:42.897697Z","updated_at":"2026-11-02T15:46:17.19998Z"}]}}
