已关闭
CVE-2024-1135 #5
openeuler-ci-bot创建于  2024年4月16日关闭于  8 天前
openeuler-ci-bot
openeuler-ci-bot成员
2024年4月16日 创建

一、漏洞信息
漏洞编号:CVE-2024-1135
漏洞归属组件:python-gunicorn
漏洞归属的版本:20.0.4,20.1.0,21.2.0,22.0.0,23.0.0
CVSS评分:
BaseScore:7.5 High
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
漏洞简述:
Gunicorn fails to properly validate Transfer-Encoding headers, leading to HTTP Request Smuggling (HRS) vulnerabilities. By crafting requests with conflicting Transfer-Encoding headers, attackers can bypass security restrictions and access restricted endpoints. This issue is due to Gunicorn s handling of Transfer-Encoding headers, where it incorrectly processes requests with multiple, conflicting Transfer-Encoding headers, treating them as chunked regardless of the final encoding specified. This vulnerability allows for a range of attacks including cache poisoning, session manipulation, and data exposure.
漏洞公开时间:2024-04-16 08:15:07
漏洞创建时间:2024-04-16 04:26:51
漏洞详情参考链接:
https://nvd.nist.gov/vuln/detail/CVE-2024-1135

更多参考(点击展开)
参考来源 参考链接 来源链接
security.huntr.dev https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
security.huntr.dev https://lists.debian.org/debian-lts-announce/2024/06/msg00027.html
af854a3a-2127-422b-91ae-364da2661108 https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2024/06/msg00027.html
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2024/12/msg00018.html
suse_bugzilla http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-1135 https://bugzilla.suse.com/show_bug.cgi?id=1222950
suse_bugzilla https://www.cve.org/CVERecord?id=CVE-2024-1135 https://bugzilla.suse.com/show_bug.cgi?id=1222950
suse_bugzilla https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1 https://bugzilla.suse.com/show_bug.cgi?id=1222950
redhat_bugzilla https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:2727 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:2875 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3327 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3331 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3781 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:3713 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:4054 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2024:7987 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
redhat_bugzilla https://access.redhat.com/errata/RHSA-2025:1335 https://bugzilla.redhat.com/show_bug.cgi?id=2275280
ubuntu https://www.cve.org/CVERecord?id=CVE-2024-1135 https://ubuntu.com/security/CVE-2024-1135
ubuntu https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1 https://ubuntu.com/security/CVE-2024-1135
ubuntu https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d https://ubuntu.com/security/CVE-2024-1135
ubuntu https://nvd.nist.gov/vuln/detail/CVE-2024-1135 https://ubuntu.com/security/CVE-2024-1135
ubuntu https://launchpad.net/bugs/cve/CVE-2024-1135 https://ubuntu.com/security/CVE-2024-1135
ubuntu https://security-tracker.debian.org/tracker/CVE-2024-1135 https://ubuntu.com/security/CVE-2024-1135
ubuntu http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069126 https://ubuntu.com/security/CVE-2024-1135
debian https://security-tracker.debian.org/tracker/CVE-2024-1135
oracle https://www.oracle.com/security-alerts/cpujan2025.html
anolis https://anas.openanolis.cn/cves/detail/CVE-2024-1135
huntr https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
cve_search https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1
cve_search https://lists.debian.org/debian-lts-announce/2024/06/msg00027.html
github_advisory https://huntr.com/bounties/22158e34-cfd5-41ad-97e0-a780773d96c1 https://github.com/advisories/GHSA-w3h3-4rj7-4ph4
github_advisory https://nvd.nist.gov/vuln/detail/CVE-2024-1135 https://github.com/advisories/GHSA-w3h3-4rj7-4ph4
mageia http://advisories.mageia.org/MGASA-2024-0236.html
snyk https://github.com/benoitc/gunicorn/blob/430dcdd997b955fa1a8569a07d9cdcbac686fb35/gunicorn/http/message.py#L134 https://security.snyk.io/vuln/SNYK-PYTHON-GUNICORN-6615672

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

详情(点击展开)
影响的包 修复版本 修复补丁 问题引入补丁 来源
https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d redhat_bugzilla
https://github.com/benoitc/gunicorn/commit/ac29c9b0a758d21f1e0fb3b3457239e523fa9f1d ubuntu

二、漏洞分析结构反馈
影响性分析说明:
CVE-2024-1135:gunicorn < 22.0.0 对 Transfer-Encoding 头校验缺陷,多个冲突 TE 头被当作 chunked → HTTP 请求走私。上游 22.0.0(commit ac29c9b)修复。22.03-LTS-SP4、24.03-LTS-SP4 已打 CVE-2024-1135 补丁完整修复。24.03-LTS/Next/SP1/SP3 已打 CVE-2024-6827 修复(独立式严格 TE 校验:按逗号拆分、仅认 chunked/identity、其余及堆叠 chunked 一律 raise InvalidHeader),1135 描述的 冲突 TE 当 chunked 向量不再可触发,作为内联缓解不计为受影响。master(≥23.0.0) 已含上游修复,不受影响。20.03-SP1/SP4、22.03-LTS/Next/SP1/SP2/SP3、24.03-LTS-SP2 为 EOL,不修复。
openEuler评分:
7.5
Vector:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
受影响版本排查(受影响/不受影响):
1.master(26.1.0):不受影响
2.openEuler-20.03-LTS-SP1(20.0.4):受影响
3.openEuler-20.03-LTS-SP4(20.0.4):受影响
4.openEuler-22.03-LTS(20.0.4):受影响
5.openEuler-22.03-LTS-Next(20.1.0):受影响
6.openEuler-22.03-LTS-SP1(20.1.0):受影响
7.openEuler-22.03-LTS-SP2(20.1.0):受影响
8.openEuler-22.03-LTS-SP3(20.1.0):受影响
9.openEuler-24.03-LTS(21.2.0):不受影响
10.openEuler-24.03-LTS-Next(21.2.0):不受影响
11.openEuler-22.03-LTS-SP4(20.1.0):受影响
12.openEuler-24.03-LTS-SP1(21.2.0):不受影响
13.openEuler-24.03-LTS-SP2(21.2.0):受影响
14.openEuler-24.03-LTS-SP3(21.2.0):不受影响
15.openEuler-24.03-LTS-SP4(21.2.0):受影响

修复是否涉及abi变化(是/否):
1.master(26.1.0):否
2.openEuler-20.03-LTS-SP1(20.0.4):否
3.openEuler-20.03-LTS-SP4(20.0.4):否
4.openEuler-22.03-LTS(20.0.4):否
5.openEuler-22.03-LTS-Next(20.1.0):否
6.openEuler-22.03-LTS-SP1(20.1.0):否
7.openEuler-22.03-LTS-SP2(20.1.0):否
8.openEuler-22.03-LTS-SP3(20.1.0):否
9.openEuler-24.03-LTS(21.2.0):否
10.openEuler-24.03-LTS-Next(21.2.0):否
11.openEuler-22.03-LTS-SP4(20.1.0):否
12.openEuler-24.03-LTS-SP1(21.2.0):否
13.openEuler-24.03-LTS-SP2(21.2.0):否
14.openEuler-24.03-LTS-SP3(21.2.0):否
15.openEuler-24.03-LTS-SP4(21.2.0):否

原因说明:
1.master(26.1.0):不受影响-漏洞代码不存在
2.openEuler-20.03-LTS-SP4(20.0.4):不修复-超出修复范围
3.openEuler-22.03-LTS-SP3(20.1.0):不修复-超出修复范围
4.openEuler-22.03-LTS-SP4(20.1.0):正常修复
5.openEuler-24.03-LTS(21.2.0):不受影响-已有内置的内联控制或缓解措施
6.openEuler-24.03-LTS-Next(21.2.0):不受影响-已有内置的内联控制或缓解措施
7.openEuler-24.03-LTS-SP1(21.2.0):不受影响-已有内置的内联控制或缓解措施
8.openEuler-24.03-LTS-SP2(21.2.0):不修复-超出修复范围
9.openEuler-24.03-LTS-SP3(21.2.0):不受影响-已有内置的内联控制或缓解措施
10.openEuler-24.03-LTS-SP4(21.2.0):正常修复

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2024年4月16日 评论:

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


影响性分析说明:

openEuler评分: (评分和向量)

受影响版本排查(受影响/不受影响):
1.master(20.1.0):
2.openEuler-20.03-LTS-SP1(20.0.4):
3.openEuler-20.03-LTS-SP4(20.0.4):
4.openEuler-22.03-LTS(20.0.4):
5.openEuler-22.03-LTS-Next(20.1.0):
6.openEuler-22.03-LTS-SP1(20.1.0):
7.openEuler-22.03-LTS-SP2(20.1.0):
8.openEuler-22.03-LTS-SP3(20.1.0):
9.openEuler-24.03-LTS:
10.openEuler-24.03-LTS-Next:

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


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

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2024年4月16日 评论:

Hi openeuler-ci-bot, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-openstack, and any of the maintainers: @xiyuanwang , @zh-f , @han-guangyu , @joec88 , @liksh , @zhangy1317 , @huangtianhua , @desert-sailor

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2024年4月16日 评论:
参考网址 关联pr 状态 补丁链接
https://nvd.nist.gov/vuln/detail/CVE-2024-1135
https://ubuntu.com/security/CVE-2024-1135NoneNonehttps://discourse.ubuntu.com/c/ubuntu-pro
https://www.opencve.io/cve/CVE-2024-1135
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2024-1135
https://security-tracker.debian.org/tracker/CVE-2024-1135

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

likedislike
2024年4月18日 评论:
openeuler-ci-botopeneuler-ci-bot成员
2024年8月18日 修改了描述
此处折叠了336条消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
8 天前 issue状态由 进行中 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
8 天前 关闭了 issue
openeuler-ci-bot
openeuler-ci-bot成员
8 天前 评论:

经过cve-manager解析,所有PR均已合入

likedislike
openeuler-ci-botopeneuler-ci-bot成员
8 天前 删除了label:CVE/UNFIXED
openeuler-ci-botopeneuler-ci-bot成员
8 天前 添加了label:CVE/FIXED