登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
115
Star
1
Fork
51
src-openEuler
/
qt5-qtbase
代码
Issues
12
Pull Requests
5
Wiki
统计
流水线
服务
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
152
Fix CVE-2024-39936
已合并
Fa1c0n:master
src-openEuler:master
Fa1c0n
创建于 2024-12-10 02:56
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
Dear qt5-qtbase maintainer: I've found qt5-qtbase latest CVE-2024-39936, is about HTTP2: Delay any communication until encrypted() can be responded to. This Commit has fixed this CVE. HTTP2: Delay any communication until encrypted() can be responded to We have the encrypted() signal that lets users do extra checks on the established connection. It is emitted as BlockingQueued, so the HTTP thread stalls until it is done emitting. Users can potentially call abort() on the QNetworkReply at that point, which is passed as a Queued call back to the HTTP thread. That means that any currently queued signal emission will be processed before the abort() call is processed. In the case of HTTP2 it is a little special since it is multiplexed and the code is built to start requests as they are available. This means that, while the code worked fine for HTTP1, since one connection only has one request, it is not working for HTTP2, since we try to send more requests in-between the encrypted() signal and the abort() call. This patch changes the code to delay any communication until the encrypted() signal has been emitted and processed, for HTTP2 only. It's done by adding a few booleans, both to know that we have to return early and so we can keep track of what events arose and what we need to resume once enough time has passed that any abort() call must have been processed. Pick-to: 6.8 6.7 6.5 6.2 5.15 5.12 Reviewed-by: Marc Mutz <marc.mutz@qt.io> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Please consider to be Merged. Sincerely From ZhaoYu Jiang jiangzhaoyu@kylinos.cn If you think this is not proper issue, Please visit https://gitee.com/openeuler/openEuler-Advisor. Issues and feedbacks are welcome. Attach Descriptions: 其他PR中的此CVE的修复代码没有考虑目前QHttpNetworkConnection的Connectiontype新增了SPDY的连接方式支持。 本次提交增补了ConnectionType为SPDY的支持以及修复代码中其他的错误。 Q_ASSERT(connection->connectionType() == QHttpNetworkConnection::ConnectionTypeHTTP2 || connection->connectionType() == QHttpNetworkConnection::ConnectionTypeHTTP2Direct); Patch来源地址:https://codereview.qt-project.org/c/qt/qtbase/+/571601 This pull request related issue(s): #IAB7IH
怎样手动合并此 Pull Request
git checkout master
git pull https://gitee.com/Fa1c0n/qt5-qtbase.git master
git push origin master
评论
12
提交
1
文件
2
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
peijiankang
peijiankang
Jingwiw
Jingwiw
douyan
dou33
wei dong
weidongkl
open-bot
open-bot
未设置
最少人数
0
测试
peijiankang
peijiankang
Jingwiw
Jingwiw
douyan
dou33
wei dong
weidongkl
open-bot
open-bot
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/yes
lgtm
approved
ci_successful
sig/Programming-lang
关联 Issue
IAB7IH
CVE-2024-39936
Pull Request 合并后将关闭上述关联 Issue
里程碑
未关联里程碑
openEuler-20.03-LTS-SP1-whole
openEuler-20.03-LTS-SP3-whole
openEuler-20.03-LTS-SP4-whole
openEuler-22.03-LTS-whole
openEuler-22.03-LTS-SP1-whole
openEuler-22.03-LTS-SP2-whole
openEuler-22.03-LTS-SP3-whole
参与者
(4)
1
https://gitee.com/src-openeuler/qt5-qtbase.git
git@gitee.com:src-openeuler/qt5-qtbase.git
src-openeuler
qt5-qtbase
qt5-qtbase
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册