Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
PyMdown Extensions: Regression in pymdownx.snippets reintroduces sibling-prefix path traversal bypass despite restrict_base_path
Vulnerability Description
PyMdown Extensions is a set of extensions for the Python-Markdown markdown project. From 10.0.1 until 10.21.3, pymdownx.snippets uses a string-prefix containment check in SnippetPreprocessor.get_snippet_path() in pymdownx/snippets.py when `restrict_base_path: True`, allowing markdown snippet directives to read files from sibling paths that share the same base_path prefix, such as docs and docs_internal. This is a regression of CVE-2023-32309. This issue is fixed in version 10.21.3.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
facelessuser PyMdown Extensions 路径遍历漏洞
Vulnerability Description
facelessuser PyMdown Extensions是facelessuser个人开发者开源的一个PythonMarkdown扩展集合。 facelessuser PyMdown Extensions 10.0.1版本至10.21.3之前版本存在路径遍历漏洞,该漏洞源于在SnippetPreprocessor.get_snippet_path()中使用字符串前缀包含检查,允许markdown片段指令读取共享相同base_path前缀的兄弟路径中的文件,如docs和docs_internal,容易
CVSS Information
N/A
Vulnerability Type
N/A