Skip to content

fix: CVE-2026-10294 - Do not accept symlinks as frontend socket#6

Open
deepin-ci-robot wants to merge 1 commit into
masterfrom
fix/CVE-2026-10294
Open

fix: CVE-2026-10294 - Do not accept symlinks as frontend socket#6
deepin-ci-robot wants to merge 1 commit into
masterfrom
fix/CVE-2026-10294

Conversation

@deepin-ci-robot

Copy link
Copy Markdown
Contributor

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

@deepin-ci-robot

Copy link
Copy Markdown
Contributor Author

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign goldendeng for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 1.2.8-2deepin3
EXISTED: no
DISTRIBUTION: unstable

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>
@hudeng-go

Copy link
Copy Markdown

/integrate

@github-actions

Copy link
Copy Markdown

AutoIntegrationPr Bot
auto integrate with pr url: deepin-community/Repository-Integration#4163
PrNumber: 4163
PrBranch: auto-integration-27731474837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants