Description (CNA)
rsync before 3.5.0 contains a path traversal vulnerability that allows remote clients to access files outside the intended module root when use chroot is disabled and the module root path or a component of it is a symlink. The daemon calls chdir() to the module root at session initialization without resolving symlinks via realpath() or equivalent, causing subsequent relative-path operations to reference files relative to the symlink target rather than the intended module root, enabling unauthorized file access.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| RsyncProject / rsync | affected 0 through 3.4.4; unaffected 3.5.0 |
CWE
CWE-59
References
- https://github.com/RsyncProject/rsync/security/advisories/GHSA-ffg2-fr5g-3rxw
- https://github.com/RsyncProject/rsync/releases/tag/v3.5.0
- https://www.vulncheck.com/advisories/rsync-path-traversal-via-symlink-module-root
ADP enrichment
No English description supplied.
No references supplied.