目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-32309— PyMdown Extensions 路径遍历漏洞

一分钟漏洞结论

影响对象
facelessuser pymdown-extensions
利用判断
存在公开或 AI PoC,应优先验证
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

PyMdown Extensions是Python Markdown 的扩展集合。 PyMdown Extensions存在路径遍历漏洞,该漏洞源于容易受到目录遍历攻击的影响,攻击者利用该漏洞可能会读取任意文件。

CVSS 7.5 · High EPSS 1.66% · P76
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2023-32309 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Arbitrary file inclusion with the pymdowm-snippets extension
来源: CVE Program / CVE List V5
Vulnerability Description
PyMdown Extensions is a set of extensions for the `Python-Markdown` markdown project. In affected versions an arbitrary file read is possible when using include file syntax. By using the syntax `--8<--"/etc/passwd"` or `--8<--"/proc/self/environ"` the content of these files will be rendered in the generated documentation. Additionally, a path relative to a specified, allowed base path can also be used to render the content of a file outside the specified base paths: `--8<-- "../../../../etc/passwd"`. Within the Snippets extension, there exists a `base_path` option but the implementation is vulnerable to Directory Traversal. The vulnerable section exists in `get_snippet_path(self, path)` lines 155 to 174 in snippets.py. Any readable file on the host where the plugin is executing may have its content exposed. This can impact any use of Snippets that exposes the use of Snippets to external users. It is never recommended to use Snippets to process user-facing, dynamic content. It is designed to process known content on the backend under the control of the host, but if someone were to accidentally enable it for user-facing content, undesired information could be exposed. This issue has been addressed in version 10.0. Users are advised to upgrade. Users unable to upgrade may restrict relative paths by filtering input.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
对路径名的限制不恰当(路径遍历)
来源: CVE Program / CVE List V5
Vulnerability Title
PyMdown Extensions 路径遍历漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
PyMdown Extensions是Python Markdown 的扩展集合。 PyMdown Extensions存在路径遍历漏洞,该漏洞源于容易受到目录遍历攻击的影响,攻击者利用该漏洞可能会读取任意文件。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
facelessuser pymdown-extensions >= 1.5, < 10.0 -

二、漏洞 CVE-2023-32309 的公开POC

# POC 描述 源链接 神龙链接
1 Example project illustrating CVE-2023-32309 vulnerability https://github.com/itlabbet/CVE-2023-32309 POC详情
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2023-32309 的情报信息

请登录查看更多情报信息。

CVE-2023-32309 补丁与修复 (1)

CVE-2023-32309 厂商安全公告 (1)

IV. Related Vulnerabilities