中危 Libarchive 安全漏洞

CVE编号

CVE-2021-31566

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-03-16
漏洞描述
libarchive是一款多格式存档和压缩库。

libarchive 存在安全漏洞,该漏洞源于可以通过符号链接模式时间标记修改数据。攻击者可利用该漏洞可以绕过libarchive的访问限制。
解决建议
目前厂商已发布升级补丁以修复漏洞,补丁获取链接:

https://vigilance.fr/vulnerability/libarchive-write-access-via-Symlink-Modes-Times-Flags-Modification-37590
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 libarchive libarchive * Up to
(excluding)
3.5.2
运行在以下环境
应用 redhat codeready_linux_builder - -
运行在以下环境
系统 alibaba_cloud_linux_3 bsdtar * Up to
(excluding)
3.3.3-3.0.1.al8
运行在以下环境
系统 alma_linux_8 bsdtar * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 alpine_3.13 libarchive * Up to
(excluding)
3.5.3-r0
运行在以下环境
系统 alpine_3.14 libarchive * Up to
(excluding)
3.5.3-r0
运行在以下环境
系统 amazon_2 libarchive * Up to
(excluding)
3.1.2-14.amzn2.0.3
运行在以下环境
系统 amazon_2022 libarchive * Up to
(excluding)
3.5.3-1.amzn2022
运行在以下环境
系统 amazon_2023 libarchive * Up to
(excluding)
3.5.3-2.amzn2023.0.2
运行在以下环境
系统 anolis_os_8 bsdtar * Up to
(excluding)
3.3.3-3.0.1
运行在以下环境
系统 debian_10 libarchive * Up to
(excluding)
3.3.3-4+deb10u2
运行在以下环境
系统 debian_11 libarchive * Up to
(excluding)
3.4.3-2+deb11u1
运行在以下环境
系统 debian_12 libarchive * Up to
(excluding)
3.5.2-1
运行在以下环境
系统 debian_9 libarchive * Up to
(excluding)
3.2.2-2+deb9u3
运行在以下环境
系统 fedora_35 bsdcat * Up to
(excluding)
3.5.3-1.fc35
运行在以下环境
系统 kylinos_aarch64_V10 bsdcat * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 kylinos_aarch64_V10SP1 libarchive * Up to
(excluding)
3.4.3-4.ky10
运行在以下环境
系统 kylinos_aarch64_V10SP2 libarchive * Up to
(excluding)
3.4.3-4.ky10
运行在以下环境
系统 kylinos_loongarch64_V10SP1 libarchive * Up to
(excluding)
3.4.3-4.a.ky10
运行在以下环境
系统 kylinos_x86_64_V10 bsdcat * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 kylinos_x86_64_V10SP1 libarchive * Up to
(excluding)
3.4.3-4.ky10
运行在以下环境
系统 kylinos_x86_64_V10SP2 libarchive * Up to
(excluding)
3.4.3-4.ky10
运行在以下环境
系统 opensuse_Leap_15.3 bsdtar * Up to
(excluding)
3.4.2-150200.4.12.1
运行在以下环境
系统 opensuse_Leap_15.4 bsdtar * Up to
(excluding)
3.5.1-150400.3.9.1
运行在以下环境
系统 oracle_8 bsdtar * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 redhat_8 bsdtar * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 rocky_linux_8 bsdtar * Up to
(excluding)
3.3.3-3.el8_5
运行在以下环境
系统 ubuntu_20.04 libarchive * Up to
(excluding)
3.4.0-2ubuntu1.1
运行在以下环境
系统 ubuntu_21.10 libarchive * Up to
(excluding)
3.4.3-2ubuntu0.1
阿里云评分
5.5
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-59 在文件访问前对链接解析不恰当(链接跟随)
阿里云安全产品覆盖情况