mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #7059] [MERGED] profiles: fix allowing netcat #6296
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#6296
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/7059
Author: @kmk3
Created: 2/10/2026
Status: ✅ Merged
Merged: 2/11/2026
Merged by: @kmk3
Base:
master← Head:profiles-fix-netcat📝 Commits (1)
d043028profiles: fix allowing netcat📊 Changes
2 files changed (+5 additions, -0 deletions)
View changed files
📝
etc/profile-m-z/playonlinux.profile(+3 -0)📝
etc/profile-m-z/ssh.profile(+2 -0)📄 Description
disable-common.inc has these lines:
With openbsd-netcat on Artix,
/usr/bin/nc.openbsdis symlinked to/usr/bin/nc:So
noblacklist ${PATH}/ncis not enough, asblacklist ${PATH}/nc.openbsdwill follow the symlink to/usr/bin/ncand still blacklist it.
To prevent
/usr/bin/ncfrom being blacklisted,noblacklist ${PATH}/nc.openbsdis also needed in this case.To ensure that netcat is allowed, always
noblacklistall netcat paths.Fixes #6911.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.