5 Star 0 Fork 6

src-openEuler/python-httpcore

CVE-2024-34064

已拒绝
CVE和安全问题 拥有者
创建于  
2024-07-30 15:16

一、漏洞信息
漏洞编号:CVE-2024-34064
漏洞归属组件:python-httpcore
漏洞归属的版本:0.17.3,1.0.4
CVSS V3.0分值:
BaseScore:5.4 Medium
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
漏洞简述:
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.
漏洞公开时间:2024-05-06 23:15:23
漏洞创建时间:2024-07-30 15:16:49
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-34064

更多参考(点击展开)
参考来源 参考链接 来源链接
security-advisories.github.com https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
security-advisories.github.com https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/567XIGSZMABG6TSMYWD7MIYNJSUQQRUC/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCLF44KY43BSVMTE6S53B4V5WP3FRRSE/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SSCBHIL6BYKR5NRCBXP4XMP2CEEKGFVS/
security-advisories.github.com https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZALNWE3TXPPHVPSI3AZ5CTMSTAVN5UMS/
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-34064 https://bugzilla.suse.com/show_bug.cgi?id=1223980
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-34064 https://bugzilla.suse.com/show_bug.cgi?id=1223980
suse_bugzilla https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb https://bugzilla.suse.com/show_bug.cgi?id=1223980
suse_bugzilla https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj https://bugzilla.suse.com/show_bug.cgi?id=1223980
redhat_bugzilla https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3781 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3795 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3811 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3820 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4231 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4404 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4414 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4427 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4522 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4616 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4958 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:5662 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:5433 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:6011 https://bugzilla.redhat.com/show_bug.cgi?id=2279476
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-34064 https://ubuntu.com/security/CVE-2024-34064
ubuntu https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj https://ubuntu.com/security/CVE-2024-34064
ubuntu https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb https://ubuntu.com/security/CVE-2024-34064
ubuntu https://ubuntu.com/security/notices/USN-6787-1 https://ubuntu.com/security/CVE-2024-34064
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-34064 https://ubuntu.com/security/CVE-2024-34064
ubuntu https://launchpad.net/bugs/cve/CVE-2024-34064 https://ubuntu.com/security/CVE-2024-34064
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-34064 https://ubuntu.com/security/CVE-2024-34064
debian https://security-tracker.debian.org/tracker/CVE-2024-34064
oracle https://www.oracle.com/security-alerts/cpujul2024.html
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-34064
cve_search https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj
cve_search https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2024-34064 https://github.com/advisories/GHSA-h75v-3vvj-5mfj
github_advisory https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb https://github.com/advisories/GHSA-h75v-3vvj-5mfj
github_advisory https://github.com/pallets/jinja/security/advisories/GHSA-h75v-3vvj-5mfj https://github.com/advisories/GHSA-h75v-3vvj-5mfj
mageia http://advisories.mageia.org/MGASA-2024-0199.html
amazon_linux_explore https://access.redhat.com/security/cve/CVE-2024-34064 https://explore.alas.aws.amazon.com/CVE-2024-34064.html
amazon_linux_explore https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34064 https://explore.alas.aws.amazon.com/CVE-2024-34064.html
snyk https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb https://security.snyk.io/vuln/SNYK-PYTHON-JINJA2-6809379

漏洞分析指导链接:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
漏洞数据来源:
openBrain开源漏洞感知系统
漏洞补丁信息:

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb security-advisories.github.com
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb suse_bugzilla
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb redhat_bugzilla
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb ubuntu
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb github_advisory
https://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb snyk
https://github.com/pallets/jinja/commit/d655030770081e2dfe46f90e27620472a502289d debian

二、漏洞分析结构反馈
影响性分析说明:

openEuler评分:
5.4
Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
受影响版本排查(受影响/不受影响):
1.master(1.0.4):
2.openEuler-20.03-LTS-SP4:
3.openEuler-22.03-LTS-SP1:
4.openEuler-22.03-LTS-SP3:
5.openEuler-22.03-LTS-SP4:
6.openEuler-24.03-LTS(1.0.4):
7.openEuler-24.03-LTS-Next(1.0.4):

修复是否涉及abi变化(是/否):
1.master(1.0.4):
2.openEuler-20.03-LTS-SP4:
3.openEuler-22.03-LTS-SP1:
4.openEuler-22.03-LTS-SP3:
5.openEuler-22.03-LTS-SP4:
6.openEuler-24.03-LTS(1.0.4):
7.openEuler-24.03-LTS-Next(1.0.4):

评论 (5)

openeuler-ci-bot 创建了CVE和安全问题 11个月前
openeuler-ci-bot 添加了
 
CVE/UNFIXED
标签
11个月前
展开全部操作日志

@myeuler ,@shinwell_hu ,@yangzhao_kl ,@desert-sailor ,@wangjie5911
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, openEuler评分, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后cve-manager将无法正常解析填写内容.


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.master(0.17.3):
2.openEuler-20.03-LTS-SP4:
3.openEuler-22.03-LTS-SP1:
4.openEuler-22.03-LTS-SP3:
5.openEuler-22.03-LTS-SP4:
6.openEuler-24.03-LTS(1.0.4):
7.openEuler-24.03-LTS-Next(1.0.4):

修复是否涉及abi变化(是/否):
1.master(0.17.3):
2.openEuler-20.03-LTS-SP4:
3.openEuler-22.03-LTS-SP1:
4.openEuler-22.03-LTS-SP3:
5.openEuler-22.03-LTS-SP4:
6.openEuler-24.03-LTS(1.0.4):
7.openEuler-24.03-LTS-Next(1.0.4):


issue处理具体操作请参考:
https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md
pr关联issue具体操作请参考:
https://gitee.com/help/articles/4142

openeuler-ci-bot 添加了
 
sig/sig-python-modul
标签
11个月前
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-34064NoneNonehttps://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
https://www.opencve.io/cve/CVE-2024-34064NoneNonehttps://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-34064NoneNonehttps://github.com/pallets/jinja/commit/0668239dc6b44ef38e7a6c9f91f312fd4ca581cb
https://security-tracker.debian.org/tracker/CVE-2024-34064NoneNonehttps://github.com/pallets/jinja/commit/d655030770081e2dfe46f90e27620472a502289d

说明:补丁链接仅供初步排查参考,实际可用性请人工再次确认,补丁下载验证可使用CVE补丁工具
若补丁不准确,烦请在此issue下评论 '/report-patch 参考网址 补丁链接1,补丁链接2' 反馈正确信息,便于我们不断优化工具,不胜感激。
如 /report-patch https://security-tracker.debian.org/tracker/CVE-2021-3997 https://github.com/systemd/systemd/commit/5b1cf7a9be37e20133c0208005274ce4a5b5c6a1

openeuler-ci-bot 计划开始日期设置为2024-07-31 11个月前
openeuler-ci-bot 计划截止日期设置为2024-08-30 11个月前
openeuler-ci-bot 优先级设置为次要 11个月前

/reason 误报,CVE-2024-34064应归属python-jinja,拒绝

openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 11个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 10个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 负责人设置为大漠行舟 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
openeuler-ci-bot 修改了描述 9个月前
大漠行舟 任务状态待办的 修改为已拒绝 7个月前
issue状态 操作者 原因
已拒绝 desert-sailor 误报,CVE-2024-34064应归属python-jinja,拒绝

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
预计工期 (小时)
开始日期   -   截止日期
-
置顶选项
优先级
里程碑
分支
参与者(2)
5329419 openeuler ci bot 1632792936 9884780 paulthomas100199 1703207487
1
https://gitee.com/src-openeuler/python-httpcore.git
git@gitee.com:src-openeuler/python-httpcore.git
src-openeuler
python-httpcore
python-httpcore

搜索帮助