登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
我知道了
查看详情
登录
注册
Gitee Talk | 模力方舟 AI 应用开发沙龙第六站 · 8月23日 广州集结中!
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
122
Star
0
Fork
44
src-openEuler
/
qt
代码
Issues
12
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
103
Security Fix for CVE-2020-24741 in QLibrary (qlibrary_unix.cpp)
已关闭
彭健:patchAdd
src-openEuler:master
彭健
创建于 2025-01-17 17:06
克隆/下载
HTTPS
SSH
复制
下载 Email Patch
下载 Diff 文件
This pull request addresses the security vulnerability CVE-2020-24741 found in the QLibrary module. The issue is related to improper handling of certain paths when loading shared libraries, which could allow an attacker to exploit this flaw and load malicious shared libraries, leading to potential security risks. This patch introduces a fix that properly handles paths in a way that mitigates the risk, ensuring secure library loading practices are followed. **Origin of the Issue:** - **CVE-2020-24741**: [CVE Details](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-24741) - **Bug Report**: [CVE-2020-24741 on GitHub](https://github.com/qt/qtbase/issues/16079) **Code Changes Introduced:** 1. **Path Handling Adjustment in QLibrary** - The following changes ensure that paths are properly handled, preventing the loading of malicious shared libraries: ```diff + if (path.isEmpty() && prefixes.at(prefix).contains(QLatin1Char('/'))) + continue; ``` - This modification checks for cases where paths should not be processed inappropriately and ensures the library loader behaves securely by rejecting suspicious paths. **Impact of Changes:** The patch directly addresses the risk of malicious shared libraries being loaded due to incorrect path handling, a critical security flaw. The changes ensure that any path-based issues are mitigated, preventing potential exploitation of the vulnerability. Your feedback and additional validation would be highly appreciated to expedite the merging of this security fix.
怎样手动合并此 Pull Request
git checkout master
git pull https://gitee.com/flipped_07_009/qt.git patchAdd
git push origin master
评论
15
提交
2
文件
2
检查
代码问题
0
批量操作
展开设置
折叠设置
审查
Code Owner
审查人员
peijiankang
peijiankang
douyan
dou33
wei dong
weidongkl
open-bot
open-bot
Jingwiw
Jingwiw
未设置
最少人数
0
测试
peijiankang
peijiankang
douyan
dou33
wei dong
weidongkl
open-bot
open-bot
Jingwiw
Jingwiw
未设置
最少人数
0
优先级
不指定
严重
主要
次要
不重要
标签
openeuler-cla/yes
ci_failed
sig/Runtime
stat/needs-squash
关联 Issue
未关联
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
参与者
(3)
Cherry-pick 提交
Cherry-pick 可以将
特定提交(Commit)
从某个分支挑选并应用到另一个分支,实现快速集成特定更改,而无需合并整个分支。
请选择应用 Cherry-pick 提交 (Commit) 的目标分支
新建分支
当前账号不存在 Fork 仓库,建议 cherry-pick 到 Fork 仓库。
Fork 仓库
提交列表
Commit SHA
Commit Message
基于 Cherry-pick 后的分支发起 Pull Request
取消
Cherry-pick
1
https://gitee.com/src-openeuler/qt.git
git@gitee.com:src-openeuler/qt.git
src-openeuler
qt
qt
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册