mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-26 09:15:55 +03:00
[PR #253] [CLOSED] Restrict unprivileged user namespace creation #275
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/konstruktoid/hardening/pull/253
Author: @rhyme-sec
Created: 3/12/2023
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
0899957Restrict unprivileged user namespace creation📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
misc/sysctl.conf(+1 -0)📄 Description
This pull request adds the
kernel.unprivileged_userns_clone = 1option to thesysctl.confconfiguration file. This option restricts the creation of unprivileged user namespaces, which helps to enhance the security of the system.By enabling this option, we prevent unprivileged users from creating their own user namespaces, which could potentially be used to bypass security controls and access system resources that they would not normally have access to. This is especially important in environments where users have limited privileges but need to run untrusted or potentially malicious code.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.