安全公告/【CVE-2023-38745】

基本信息

漏洞名称:
受影响操作系统:桌面操作系统
危险等级:中危
影响源码包:pandoc
CVSS评分:6.3
发现日期:2023-08-28
修复版本:2.2.1-3

漏洞描述

Pandoc before 3.1.6 allows arbitrary file write: this can be triggered by providing a crafted image element in the input when generating files via the --extract-media option or outputting to PDF format. This allows an attacker to create or overwrite arbitrary files, depending on the privileges of the process running Pandoc. It only affects systems that pass untrusted user input to Pandoc and allow Pandoc to be used to produce a PDF or with the --extract-media option. NOTE: this issue exists because of an incomplete fix for CVE-2023-35936 (failure to properly account for double encoded path names).

修复方式

sudo apt update && sudo apt dist-upgrade

漏洞判定

执行命令apt policy PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复

补丁

参考

https://security-tracker.debian.org/tracker/CVE-2023-38745
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-38745
https://nvd.nist.gov/vuln/detail/CVE-2023-38745