void-linux / void-linux/void-packages

List of xbps-triggers that is NOT safe to be run from outside of chroot

Open
#23,262 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

tracking
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

In light of #23239,

I look into some xbps-triggers, and I think those triggers aren't safe to be run from outside of chroot:


Thought, @void-linux/pkg-committers @ericonr

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked xbps-triggers system-accounts lines 29, 31, 112, and 113, then inspect the other triggers for commands that may act on the host outside a chroot. Reproduce the differing libc and host user/group cases described in the issue. Done means identifying the unsafe triggers and documenting the relevant mitigation or remaining concern.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
operating-systems, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.