Open
【22.03_LTS_SP1_RC2】【x86/arm】flume存在不安全的编译选项STRIP #9
AtomGit-BotAdd on  Dec 8, 2022
AtomGit-Bot
Dec 8, 2022 Create

软件信息:
1) OS版本及分支:openEuler 22.03 lts sp1 round2
2) 内核信息:Linux openEuler 5.10.0-132.0.0.73.oe2203sp1
3) 发现问题的组件版本信息:
repo:OS,everything,EPOL

【问题复现步骤】
1、PIE:查看编译日志中是否包含FPIE编译选项
2、STRIP:(1):rpm2cpio **.rpm|cpio -id (2)file $file
3、RPATH:(1):rpm2cpio **.rpm|cpio -id (2)readelf -d $file
【预期结果】
不存在不安全的编译选项:
1、包含FPIE安全编译选项
2、不包含not stripped
3、不包含rpath/runpath
【实际结果】
flume存在不安全的编译选项STRIP

likedislike
AAtomGit-Bot
Dec 8, 2022 创建了缺陷
openeuler-ci-bot
openeuler-ci-botCollaborators
Dec 8, 2022 Comments:

Hi ryuo, 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: bigdata, and any of the maintainers: @wuzeyi1 , @sinever , @yangzhao_kl , @macchen1 , @my_code_x

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Dec 8, 2022 添加了sig/bigdata(已删除)标签
AAtomGit-Bot
Dec 8, 2022 修改了标题
AAtomGit-Bot
Dec 8, 2022 将负责人设置为sinever
AAtomGit-Bot
Dec 8, 2022 将里程碑设置为openEuler-22.03-LTS-SP1-round-2
AAtomGit-Bot
Dec 8, 2022 将优先级设置为主要
AAtomGit-Bot
Dec 8, 2022 将计划截止日期设置为2022-12-08
AAtomGit-Bot
Dec 8, 2022 将计划开始日期设置为2022-12-08
AAtomGit-Bot
Dec 8, 2022 修改了标题
AAtomGit-Bot
Dec 8, 2022 修改了描述
yaqiangchenyaqiangchen
Dec 27, 2022 将任务状态从 待办的 修改为已挂起
yaqiangchenyaqiangchen
Jan 11, 2023 移除了intern-bigdata(已删除)标签
xiexing
xiexing
Mar 17, 2023 Comments:

问题分析:
flume组件编译生成的jar包为2种,一种为组件 java文建编译生成的jar包,另一种是从上游仓库下载下来。
而issue监测出来的so文件是jar包解压出来的,而对应的jar包是从上游仓库下载下来的,仓库地址为https://repo.huaweicloud.com/repository/maven/
结论:
不影响安全性

likedislike