fix: CVE-2026-10294 - Do not accept symlinks as frontend socket#6
Open
deepin-ci-robot wants to merge 1 commit into
Open
fix: CVE-2026-10294 - Do not accept symlinks as frontend socket#6deepin-ci-robot wants to merge 1 commit into
deepin-ci-robot wants to merge 1 commit into
Conversation
Contributor
Author
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
TAG Bot TAG: 1.2.8-2deepin3 |
3ae090a to
b377735
Compare
If a debconf frontend socket is passed, we now ensure that it isn't a symlink and is a socket, instead of following it and revealing that the symlink exists. This prevents unprivileged users from probing the existence of arbitrary files on the system via the SetHints frontend-socket argument. Upstream: PackageKit/PackageKit@4c1994d Generated-By: deepin-ci-robot Co-Authored-By: hudeng <hudeng@deepin.org>
b377735 to
0c61964
Compare
|
/integrate |
|
AutoIntegrationPr Bot |
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.
CVE 修复
CVE ID: CVE-2026-10294
漏洞描述: A vulnerability has been found in PackageKit up to 1.3.5. Affected is the function g_file_test of the file src/pk-transaction.c of the component API. Such manipulation of the argument frontend-socket leads to improper authorization. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.
修复方案: Backport upstream fix commit 4c1994d0545d which replaces g_file_test() with g_lstat()+S_ISSOCK() to avoid following symlinks (which would let callers probe arbitrary paths as root), and adds proper socket type checking.
受影响版本: PackageKit up to 1.3.5
当前版本: 1.2.8-2deepin2
验证状态: Patch applies cleanly, no conflicts with existing patches.
Fix-Approach: backport-upstream
Generated by: CVE-Fixer Agent
Co-Authored-By: hudeng hudeng@deepin.org