{"id":"CVE-2004-0815","aliases":["DEBIAN-CVE-2004-0815","DSA-600-1","EUVD-2004-0813","GHSA-fmc4-f425-jjcv"],"status":"published","title":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims...","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","severity":{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04887,"percentile":0.92131,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-10-07T00:00:00Z","modified":"2026-10-21T15:47:21Z","fixes":[{"ecosystem":"Debian:12","package":"samba","fixed_in":["3.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"samba","fixed_in":["3.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"samba","fixed_in":["3.0.6-1"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"samba","fixed_in":["2.2.3a-14.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.6-1"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"samba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.3a-14.1"}]}]}],"products":[{"vendor":"samba","product":"samba"}],"references":[{"url":"http://us4.samba.org/samba/news/#security_2.2.12","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=109655827913457\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://bugzilla.fedora.us/show_bug.cgi?id=2102","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","report"]},{"url":"http://www.idefense.com/application/poi/display?id=146\u0026type=vulnerabilities\u0026flashstatus=true","tags":["third-party-advisory","x_refsource_IDEFENSE","x_transferred","Exploit","Vendor Advisory","advisory","evidence"]},{"url":"http://www.securityfocus.com/archive/1/377618","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.debian.org/security/2004/dsa-600","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.redhat.com/support/errata/RHSA-2004-498.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","web"]},{"url":"http://distro.conectiva.com.br/atualizacoes/?id=a\u0026anuncio=000873","tags":["vendor-advisory","x_refsource_CONECTIVA","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.securityfocus.com/bid/11281","tags":["vdb-entry","x_refsource_BID","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"http://www.trustix.org/errata/2004/0051/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1","tags":["vendor-advisory","x_refsource_SUNALERT","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2004_35_samba.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/17556","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0815"},{"url":"http://www.trustix.org/errata/2004/0051"},{"url":"https://github.com/advisories/GHSA-fmc4-f425-jjcv"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0815","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0815","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2004-10-16T04:00:00Z","modified":"2024-08-08T00:31:47.853Z","updated_at":"2026-11-02T14:34:54.758165Z"}],"euvd":[{"id":"EUVD-2004-0813","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2004-10-16T04:00:00Z","modified":"2024-08-08T00:31:47Z","updated_at":"2026-11-03T01:15:17.778038Z"}],"ghsa":[{"id":"GHSA-fmc4-f425-jjcv","title":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims...","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2022-04-29T02:58:25Z","modified":"2025-04-03T04:02:48Z","updated_at":"2026-11-02T15:00:39.470148Z"}],"nvd":[{"id":"CVE-2004-0815","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2004-11-03T05:00:00Z","modified":"2026-06-16T22:06:26.7Z","cvss":[{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.000028Z"}],"osv":[{"id":"CVE-2004-0815","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2004-11-03T05:00:00Z","modified":"2026-04-10T03:35:57.779068Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0815","description":"The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via \"/.////\" style sequences in pathnames.","status":"published","published":"2004-11-03T05:00:00Z","modified":"2026-10-21T15:47:21.820978506Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-600-1","title":"samba - arbitrary file access","status":"published","published":"2004-10-07T00:00:00Z","modified":"2026-03-09T02:09:56.552822Z","updated_at":"2026-11-02T15:46:18.296714Z"}]}}
