A flaw was found in rsync. When using the `--safe-links` option, the rsync client fails to properly verify if a symbolic link destination sent from the server contains another symbolic link within it. This results in a path traversal vulnerability, which may lead to arbitrary file write outside the desired directory.
Workaround:
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2025:2600 | vendor advisory third party advisory |
https://access.redhat.com/errata/RHSA-2025:7050 | vendor advisory third party advisory |
https://access.redhat.com/errata/RHSA-2025:8385 | vendor advisory third party advisory |
https://access.redhat.com/security/cve/CVE-2024-12088 | third party advisory vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2330676 | issue tracking third party advisory |
https://kb.cert.org/vuls/id/952657 | third party advisory |
https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj | third party advisory |