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

# CVE-2021-41072

squashfs_opendir in unsquash-2.c in Squashfs-Tools 4.5 allows Directory Traversal, a different vulnerability than CVE-2021-40153. A squashfs filesystem that has been crafted to include a symbolic link and then contents under the same filename in a filesystem can cause unsquashfs to first create the symbolic link pointing outside the expected directory, and then the subsequent write operation will cause the unsquashfs process to write through the symbolic link elsewhere in the filesystem.

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

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

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | squashfs-tools | 4.3-20.1.al8 | 4.3-20.1.0.3.al8 |
| Oracle Linux | 8 | squashfs-tools | 4.3-20.el8 | 4.3-21.el8 |
| Oracle Linux | 9 | squashfs-tools | 4.4-8.git1.el9 | 4.4-10.git1.el9 |
| Red Hat Enterprise Linux | 9.8 | squashfs-tools | 4.4-8.git1.el9 | 4.4-10.git1.el9 |
| Ubuntu | focal | squashfs-tools | 1:4.4-1 | 1:4.4-1ubuntu0.2 |
