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

目标: 1000 元 · 已筹: 1325

100%

CVE-2024-34064— Pallets Jinja 安全漏洞

CVSS 5.4 · Medium EPSS 0.98% · P57
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2024-34064 基础信息

漏洞信息

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

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

Vulnerability Title
Jinja vulnerable to HTML attribute injection when passing user input as keys to xmlattr filter
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
Jinja is an extensible templating engine. The `xmlattr` filter in affected versions of Jinja accepts keys containing non-attribute characters. XML/HTML attributes cannot contain spaces, `/`, `>`, or `=`, as each would then be interpreted as starting a separate attribute. If an application accepts keys (as opposed to only values) as user input, and renders these in pages that other users see as well, an attacker could use this to inject other attributes and perform XSS. The fix for CVE-2024-22195 only addressed spaces but not other characters. Accepting keys as user input is now explicitly considered an unintended use case of the `xmlattr` filter, and code that does so without otherwise validating the input should be flagged as insecure, regardless of Jinja version. Accepting _values_ as user input continues to be safe. This vulnerability is fixed in 3.1.4.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
Pallets Jinja 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Pallets Jinja是一款使用Python语言编写的模板引擎。 Pallets Jinja 3.1.4之前版本存在安全漏洞,该漏洞源于将用户输入作为键传递给 xmlattr 过滤器时,Jinja 容易受到 HTML 属性注入。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
palletsjinja < 3.1.4 -

二、漏洞 CVE-2024-34064 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-34064 的情报信息

登录查看更多情报信息。

CVE-2024-34064 补丁与修复 (1)

CVE-2024-34064 厂商安全公告 (1)

CVE-2024-34064 邮件列表归档 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2024-34064

暂无评论


发表评论