Read the docs
TI-2004-00730 Aliases CVE-2004-0792GHSA-6v45-fh9q-v72q

Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2…

Priority LOW 33Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
— Not recorded in CVSS 2.0
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Partial · Partial · None
Fix status
Fixed

Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

EPSS 0.02317 83rd percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 27

CPEVersionsRoleVendor
cpe:2.3:a:andrew_tridgell:rsync:2.3.1:*:*:*:*:*:*:*2.3.1VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2:*:*:*:*:*:*:*2.3.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:alpha:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:arm:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:intel:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:m68k:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:ppc:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:sparc:*:*:*:*:*2.3.2_1.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.3:*:*:*:*:*:*:*2.3.2_1.3VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.0:*:*:*:*:*:*:*2.4.0VulnerableAndrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.1:*:*:*:*:*:*:* Versions 2.3.1 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2:*:*:*:*:*:*:* Versions 2.3.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:alpha:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:arm:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:intel:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:m68k:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:ppc:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.2:*:sparc:*:*:*:*:* Versions 2.3.2_1.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.3.2_1.3:*:*:*:*:*:*:* Versions 2.3.2_1.3 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.0:*:*:*:*:*:*:* Versions 2.4.0 Vulnerable ·Andrew Tridgell
Show 17 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:andrew_tridgell:rsync:2.4.1:*:*:*:*:*:*:*2.4.1VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.3:*:*:*:*:*:*:*2.4.3VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.4:*:*:*:*:*:*:*2.4.4VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.5:*:*:*:*:*:*:*2.4.5VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.6:*:*:*:*:*:*:*2.4.6VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.4.8:*:*:*:*:*:*:*2.4.8VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.0:*:*:*:*:*:*:*2.5.0VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.1:*:*:*:*:*:*:*2.5.1VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.2:*:*:*:*:*:*:*2.5.2VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.3:*:*:*:*:*:*:*2.5.3VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.4:*:*:*:*:*:*:*2.5.4VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.5:*:*:*:*:*:*:*2.5.5VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.6:*:*:*:*:*:*:*2.5.6VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.5.7:*:*:*:*:*:*:*2.5.7VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.6:*:*:*:*:*:*:*2.6VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.6.1:*:*:*:*:*:*:*2.6.1VulnerableAndrew Tridgell
cpe:2.3:a:andrew_tridgell:rsync:2.6.2:*:*:*:*:*:*:*2.6.2VulnerableAndrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.1:*:*:*:*:*:*:* Versions 2.4.1 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.3:*:*:*:*:*:*:* Versions 2.4.3 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.4:*:*:*:*:*:*:* Versions 2.4.4 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.5:*:*:*:*:*:*:* Versions 2.4.5 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.6:*:*:*:*:*:*:* Versions 2.4.6 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.4.8:*:*:*:*:*:*:* Versions 2.4.8 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.0:*:*:*:*:*:*:* Versions 2.5.0 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.1:*:*:*:*:*:*:* Versions 2.5.1 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.2:*:*:*:*:*:*:* Versions 2.5.2 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.3:*:*:*:*:*:*:* Versions 2.5.3 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.4:*:*:*:*:*:*:* Versions 2.5.4 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.5:*:*:*:*:*:*:* Versions 2.5.5 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.6:*:*:*:*:*:*:* Versions 2.5.6 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.5.7:*:*:*:*:*:*:* Versions 2.5.7 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.6:*:*:*:*:*:*:* Versions 2.6 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.6.1:*:*:*:*:*:*:* Versions 2.6.1 Vulnerable ·Andrew Tridgell
  • cpe:2.3:a:andrew_tridgell:rsync:2.6.2:*:*:*:*:*:*:* Versions 2.6.2 Vulnerable ·Andrew Tridgell

Remediation

Red Hat 1 advisory

  • RHSA-2004:436 Released 2004-09-01 · Red Hat rating Moderate
    rsync security update
    • Red Hat Desktop version 3 rsync-2.5.7-5.3E, rsync-2.5.7-5.3E.i386
    • Red Hat Enterprise Linux AS version 3 rsync-2.5.7-5.3E, rsync-2.5.7-5.3E.i386, rsync-2.5.7-5.3E.ia64 +1
    • Red Hat Enterprise Linux ES version 3 rsync-2.5.7-5.3E, rsync-2.5.7-5.3E.i386, rsync-2.5.7-5.3E.ia64
    • Red Hat Enterprise Linux WS version 3 rsync-2.5.7-5.3E, rsync-2.5.7-5.3E.i386, rsync-2.5.7-5.3E.ia64

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Desktop version 3Fixed RHSA-2004:436
Red Hat Enterprise Linux AS version 3Fixed RHSA-2004:436
Red Hat Enterprise Linux ES version 3Fixed RHSA-2004:436
Red Hat Enterprise Linux WS version 3Fixed RHSA-2004:436

Timeline

  1. 2026-10-02 Threatist record created from CVE-2004-0792
  2. 2026-10-03 Alias added: GHSA-6v45-fh9q-v72q

References

  • TI-2002-00044 Multiple signedness errors (mixed signed and unsigned numbers) in the I/O functions of… CVSS 2.0HIGH 10.0
  • TI-2003-00869 Heap-based buffer overflow in rsync before 2.5.7, when running in server mode, allows… CVSS 2.0HIGH 7.5
  • TI-2006-02028 Integer overflow in the receive_xattr function in the extended attributes patch (xattr.c)… CVSS 2.0HIGH 7.5
  • TI-2004-00390 rsync before 2.6.1 does not properly sanitize paths when running a read/write daemon… CVSS 2.0MEDIUM 5.0
  • TI-1999-00467 The rsync command before rsync 2.3.1 may inadvertently change the permissions of the… CVSS 2.0LOW 2.1

Sources