---
title: "CVE-2022-29154"
canonical_url: "https://pkgseek.com/security/CVE-2022-29154"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2022-29154

An issue was discovered in rsync before 3.2.5 that allows malicious remote servers to write arbitrary files inside the directories of connecting peers. The server chooses which files/directories are sent to the client. However, the rsync client performs insufficient validation of file names. A malicious rsync server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the rsync client target directory and subdirectories (for example, overwrite the .ssh/authorized_keys file).

CVE-2022-29154 严重级别为 HIGH (7.4)，共索引 10 条受影响软件包构建记录，涉及 4 个发行版。

- **级别 / 评分**: HIGH (7.4)
- **受影响构建数**: 10
- **涉及发行版**: 4
- **已标明修复版本发行版**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | rsync | 3.1.3-14.al8.2 | 3.1.3-14.al8.3 |
| Alibaba Cloud Linux | 3 | rsync-daemon | 3.1.3-14.al8.2 | 3.1.3-14.al8.3 |
| Oracle Linux | 8 | rsync | 3.1.3-14.el8_6.2 | 3.1.3-14.el8_6.3 |
| Oracle Linux | 8 | rsync-daemon | 3.1.3-14.el8_6.2 | 3.1.3-14.el8_6.3 |
| Oracle Linux | 9 | rsync | 3.2.3-9.el9_0.1 | 3.2.3-9.el9_0.2 |
| Oracle Linux | 9 | rsync-daemon | 3.2.3-9.el9_0.1 | 3.2.3-9.el9_0.2 |
| Red Hat Enterprise Linux | 9.8 | rsync | 3.2.3-9.el9_0.1 | 3.2.3-9.el9_0.2 |
| Red Hat Enterprise Linux | 9.8 | rsync-daemon | 3.2.3-9.el9_0.1 | 3.2.3-9.el9_0.2 |
| Ubuntu | focal | rsync | 3.1.3-8 | 3.1.3-8ubuntu0.5 |
| Ubuntu | jammy | rsync | 3.2.3-8ubuntu3 | 3.2.7-0ubuntu0.22.04.2 |
