mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5317] [MERGED] Fix an AppArmor profile denial issue with ptrace reading and signals #5442
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5317
Author: @ChrysoliteAzalea
Created: 8/15/2022
Status: ✅ Merged
Merged: 8/18/2022
Merged by: @undefined
Base:
master← Head:apparmor_profile_correction📝 Commits (1)
44e8b02Fixed an AppArmor profile denial issue with ptrace and signals📊 Changes
1 file changed (+2 additions, -0 deletions)
View changed files
📝
etc/apparmor/firejail-default(+2 -0)📄 Description
Hello everyone!
Recently, a pull request was merged that added support for custom AppArmor profiles. However, there was a use-case I haven't tested -- a case where an application confined by a default profile uses ptrace or sends signals. In the original profile, it was allowed only for apps with the same security label. However, I've missed that, while firejail-default//&unconfined and firejail-default have equal AppArmor permissions, ptrace reading and sending signals were previously allowed for peers only with the latter security label. I've fixed it in this PR by allowing both.
Fixes #5316
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.