{"id":"CVE-2004-0792","aliases":["DEBIAN-CVE-2004-0792","DSA-538","EUVD-2004-0790","GHSA-6v45-fh9q-v72q","RHSA-2004:436"],"status":"published","title":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and...","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","severity":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02317,"percentile":0.83534,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2004-08-17T00:00:00Z","modified":"2026-10-21T15:47:35Z","fixes":[{"ecosystem":"Debian:12","package":"rsync","fixed_in":["2.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rsync","fixed_in":["2.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rsync","fixed_in":["2.6.2-3"],"sources":["osv"]},{"ecosystem":"Debian:3.0","package":"rsync","fixed_in":["2.5.5-0.6"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"rsync","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::as","package":"rsync-debuginfo","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"rsync","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"rsync-debuginfo","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"rsync","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::es","package":"rsync-debuginfo","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"rsync","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:3::ws","package":"rsync-debuginfo","fixed_in":["0:2.5.7-5.3E"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.2-3"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.5-0.6"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::as","package":"rsync-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::desktop","package":"rsync-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::es","package":"rsync-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"rsync","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:3::ws","package":"rsync-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:2.5.7-5.3E"}]}]}],"products":[{"vendor":"andrew_tridgell","product":"rsync"}],"references":[{"url":"http://www.debian.org/security/2004/dsa-538","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2004:083","tags":["vendor-advisory","x_refsource_MANDRAKE","x_transferred","advisory"]},{"url":"http://www.gentoo.org/security/en/glsa/glsa-200408-17.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Patch","Vendor Advisory","advisory","fix"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10561","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","web"]},{"url":"http://www.trustix.net/errata/2004/0042/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","web"]},{"url":"http://www.novell.com/linux/security/advisories/2004_26_rsync.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","advisory"]},{"url":"http://marc.info/?l=bugtraq\u0026m=109268147522290\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://samba.org/rsync/#security_aug04","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://marc.info/?l=bugtraq\u0026m=109277141223839\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2004-0792","tags":["advisory"]},{"url":"http://www.trustix.net/errata/2004/0042"},{"url":"https://github.com/advisories/GHSA-6v45-fh9q-v72q"},{"url":"https://security-tracker.debian.org/tracker/CVE-2004-0792","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2004:436","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"http://rsync.samba.org/#security_aug04","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=130050","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2004/rhsa-2004_436.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2004-0792","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1617292","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2004-0792","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2004-0792","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2004-08-18T04:00:00Z","modified":"2024-08-08T00:31:47.034Z","updated_at":"2026-11-02T14:34:55.098814Z"}],"euvd":[{"id":"EUVD-2004-0790","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2004-08-18T04:00:00Z","modified":"2024-08-08T00:31:47Z","updated_at":"2026-11-03T01:15:17.778038Z"}],"ghsa":[{"id":"GHSA-6v45-fh9q-v72q","title":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and...","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2022-04-29T02:58:23Z","modified":"2025-04-03T04:02:33Z","updated_at":"2026-11-02T15:00:39.470148Z"}],"nvd":[{"id":"CVE-2004-0792","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2004-10-20T04:00:00Z","modified":"2026-06-16T22:06:23.377Z","cvss":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:51.000028Z"}],"osv":[{"id":"CVE-2004-0792","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2004-10-20T04:00:00Z","modified":"2026-04-10T03:35:53.643466Z","updated_at":"2026-11-02T15:43:56.315348Z"},{"id":"DEBIAN-CVE-2004-0792","description":"Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows attackers to read or write certain files.","status":"published","published":"2004-10-20T04:00:00Z","modified":"2026-10-21T15:47:35.005551279Z","updated_at":"2026-11-02T15:45:22.55978Z"},{"id":"DSA-538","title":"rsync - unauthorised directory traversal and file access","status":"published","published":"2004-08-17T00:00:00Z","modified":"2026-03-09T02:08:58.235189Z","updated_at":"2026-11-02T15:46:17.543497Z"},{"id":"RHSA-2004:436","title":"Red Hat Security Advisory: rsync security update","status":"published","published":"2024-09-15T14:48:34Z","modified":"2026-06-26T10:01:28Z","updated_at":"2026-11-02T15:52:59.135214Z"}]}}
