CVE-2004-0792: Directory traversal vulnerability in the sanitize_path function in util.c for rsync 2.6.2 and earlier, when chroot is disabled, allows…
Noroxi assessment
Priority: Monitor (action score 26/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.3% (FIRST EPSS); higher than 83.7% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: rsync (Debian:12) 2.6.2-3; rsync (Debian:3.0) 2.5.5-0.6; rsync (Red Hat:enterprise_linux:3::as) 0:2.5.7-5.3E.
Low priority for now. Upgrade to rsync (Debian:12) 2.6.2-3; rsync (Debian:3.0) 2.5.5-0.6; rsync (Red Hat:enterprise_linux:3::as) 0:2.5.7-5.3E or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Oct 20, 2004
- Updated
- Jun 16, 2026
- EPSS
- 2.3% · 83th percentile
- CWE
- —
Report tools
Action score
26
Low priority for now.
- CVSS
- 25 / 40 · 6.4 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.3%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| andrew tridgell | rsync | cpe:2.3:a:andrew_tridgell:rsync |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- andrew tridgell rsync2.3.1
- andrew tridgell rsync2.3.2
- andrew tridgell rsync2.3.2_1.2
- andrew tridgell rsync2.3.2_1.3
- andrew tridgell rsync2.4.0
- andrew tridgell rsync2.4.1
- andrew tridgell rsync2.4.3
- andrew tridgell rsync2.4.4
+12 more rows
- andrew tridgell rsync2.4.5
- andrew tridgell rsync2.4.6
- andrew tridgell rsync2.4.8
- andrew tridgell rsync2.5.0
- andrew tridgell rsync2.5.1
- andrew tridgell rsync2.5.2
- andrew tridgell rsync2.5.3
- andrew tridgell rsync2.5.4
- andrew tridgell rsync2.5.5
- andrew tridgell rsync2.5.6
- andrew tridgell rsync2.5.7
- andrew tridgell rsync2.6
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rsync | before 2.6.2-3 | 2.6.2-3 |
| Debian:3.0 | rsync | before 2.5.5-0.6 | 2.5.5-0.6 |
| Red Hat:enterprise_linux:3::as | rsync | before 0:2.5.7-5.3E | 0:2.5.7-5.3E |
| Red Hat:enterprise_linux:3::as | rsync-debuginfo | before 0:2.5.7-5.3E | 0:2.5.7-5.3E |
Same product
andrew tridgell: all recordsOther highest-scoring records for the same primary product.
- CVE-2002-0048Multiple signedness errors (mixed signed and unsigned numbers) in the I/O functions of rsync 2.4.6, 2.3.2, and other versions allow remote…50Plan
- CVE-2003-0962Heap-based buffer overflow in rsync before 2.5.7, when running in server mode, allows remote attackers to execute arbitrary code and…37Monitor
- CVE-2006-2083Integer overflow in the receive_xattr function in the extended attributes patch (xattr.c) for rsync before 2.6.8 might allow attackers to…31Monitor
Published before and after this one in the same product
- ← EarlierCVE-1999-0473Apr 7, 1999 · The rsync command before rsync 2.3.1 may inadvertently change the permissions of the client's working directory to the permissions of the…8Monitor
- ← EarlierCVE-2004-0426Jul 7, 2004 · rsync before 2.6.1 does not properly sanitize paths when running a read/write daemon without using chroot, which allows remote attackers to…21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rsync | 2.6.2-3 · Debian:12 | Package registry (OSV) |
| red hat:rsync | 0:2.5.7-5.3E · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
| red hat:rsync-debuginfo | 0:2.5.7-5.3E · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
—
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (8 more)Show less
- marc.info/?l=bugtraq&m=109277141223839&w=2
- samba.org/rsync/#security_aug04
- www.debian.org/security/2004/dsa-538
- www.gentoo.org/security/en/glsa/glsa-200408-17.xml
- www.mandriva.com/security/advisories?name=MDKSA-2004:083
- www.novell.com/linux/security/advisories/2004_26_rsync.html
- www.trustix.net/errata/2004/0042/
- oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10561
Vendor advisories and official records. Exploit/PoC links are deliberately left out.