Repository navigation
Conversation
…ction The ipwatchd plugin's analyse.c used system() with unescaped user input (CWE-78). The plugin was already disabled by default (ENABLE_PLUGIN_IPWATCHD OFF). Remove the entire plugin directory and its CMakeLists.txt entries to eliminate the vulnerability at its source. Log: Remove ipwatchd plugin directory and CMake config Influence: Eliminates CWE-78 command injection in analyse.c
|
Skipping CI for Draft Pull Request. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mhduiy The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Reviewer's guide (collapsed on small PRs)Reviewer's Guide该 PR 通过删除整个默认禁用且无其他组件依赖的 ipwatchd 插件,并移除其 CMake 构建入口,避免包含 CWE-78 命令注入风险的代码继续存在或被重新启用。 File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
TAG Bot New tag: 1.0.50 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复内容
移除已默认禁用的 ipwatchd 插件目录,消除 CWE-78 命令注入漏洞。
变更说明
src/plugin-sdbus/plugin-ipwatchd/整个目录(25 个文件,含漏洞文件analyse.c)src/plugin-sdbus/CMakeLists.txt— 移除option(ENABLE_PLUGIN_IPWATCHD ...)和if/add_subdirectory块,仅保留 SPDX 许可证头背景
ipwatchd 插件
analyse.c:209使用system()执行未转义参数,存在 CWE-78 命令注入风险。该插件已默认禁用(ENABLE_PLUGIN_IPWATCHD设为OFF),且无其他 DDE 组件依赖其 D-Bus 接口。经架构师评估,采用方案 B 彻底移除插件代码以消除漏洞源头。审核
代码审核已通过(100/100)。
关联 Issue
DDE-519
Summary by Sourcery
Remove the disabled ipwatchd plugin to eliminate its CWE-78 command-injection risk.
Bug Fixes:
Enhancements: