Open
【22.03_LTS_SP1_RC2】【x86/arm】flume存在不安全的编译选项STRIP #9
AtomGit-BotAdd on Dec 8, 2022
Dec 8, 2022 创建了缺陷
openeuler-ci-bot
Dec 8, 2022 Comments:
Dec 8, 2022 Comments:
Dec 8, 2022 添加了sig/bigdata(已删除)标签
Dec 8, 2022 修改了标题
Dec 8, 2022 将负责人设置为sinever
Dec 8, 2022 将里程碑设置为openEuler-22.03-LTS-SP1-round-2
Dec 8, 2022 将优先级设置为主要
Dec 8, 2022 将计划截止日期设置为2022-12-08
Dec 8, 2022 将计划开始日期设置为2022-12-08
Dec 8, 2022 修改了标题
Dec 8, 2022 修改了描述
Dec 27, 2022 将任务状态从 待办的 修改为已挂起
Jan 11, 2023 移除了intern-bigdata(已删除)标签
xiexing
Mar 17, 2023 Comments:
Mar 17, 2023 Comments:
问题分析:
flume组件编译生成的jar包为2种,一种为组件 java文建编译生成的jar包,另一种是从上游仓库下载下来。
而issue监测出来的so文件是jar包解压出来的,而对应的jar包是从上游仓库下载下来的,仓库地址为https://repo.huaweicloud.com/repository/maven/
结论:
不影响安全性


软件信息:
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