A path traversal vulnerability exists in rsync. It stems from behavior enabled by the --inc-recursive option, a default-enabled option for many client options and can be enabled by the server even if not explicitly enabled by the client. When using the --inc-recursive option, a lack of proper symlink verification coupled with deduplication checks occurring on a per-file-list basis could allow a server to write files outside of the client's intended destination directory. A malicious server could write malicious files to arbitrary locations named after valid directories/paths on the client.
{
"cna_assigner": "redhat",
"cwe_ids": [
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12087.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0:3.4.1-2.el10"
},
{
"fixed": "0:3.0.6-12.el6_10.2"
},
{
"fixed": "0:3.1.2-12.el7_9.2"
},
{
"fixed": "0:3.1.3-21.el8_10"
},
{
"fixed": "0:3.1.3-7.el8_2.6"
},
{
"fixed": "0:3.1.3-12.el8_4.6"
},
{
"fixed": "0:3.1.3-12.el8_4.6"
},
{
"fixed": "0:3.1.3-14.el8_6.9"
},
{
"fixed": "0:3.1.3-14.el8_6.9"
},
{
"fixed": "0:3.1.3-14.el8_6.9"
},
{
"fixed": "0:3.1.3-20.el8_8.4"
},
{
"fixed": "0:3.1.3-20.el8_8.4"
},
{
"fixed": "0:3.2.5-3.el9"
},
{
"fixed": "0:3.2.5-3.el9"
},
{
"fixed": "0:3.2.3-9.el9_0.4"
},
{
"fixed": "0:3.2.3-19.el9_2.2"
},
{
"fixed": "0:3.2.3-19.el9_4.2"
},
{
"fixed": "1.14.2-1748467619"
}
],
"source": "AFFECTED_FIELD",
"strategy": "InverseAffectedRanges"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.3.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}