From: Jacob Hrbek <kreyren@rixotstudio.cz>
To: 51833@debbugs.gnu.org
Subject: bug#51833: SECURITY: Sanitize the permissions for guix daemon socket?
Date: Sun, 14 Nov 2021 09:18:46 +0000 [thread overview]
Message-ID: <0vikmU8M7HlOsjRKej0siT0rJjlgmN5Asnd1HpGeH_8xYz_okK-KtukDg6vO9U3wtmQrAd5FHhooRjJ__yE1jlcoQ17TqGPrYNiD6Bjk01w=@rixotstudio.cz> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 445 bytes --]
The /var/guix/daemon-socket/socket is by default set to be owned by root:root with chmod 0666 that allows **ALL** users on the system to interact with guix daemon to write in the store directory.
Proposing to define a group (or use guixbuild group?) to by default deny access to the socket to all users without the group as i see this being a security issue waiting to happen.
-- Jacob "Kreyren" Hrbek
Sent with ProtonMail Secure Email.
[-- Attachment #1.1.2.1: Type: text/html, Size: 746 bytes --]
[-- Attachment #1.2: publickey - kreyren@rixotstudio.cz - 0x1677DB82.asc --]
[-- Type: application/pgp-keys, Size: 737 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
next reply other threads:[~2021-11-14 9:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 9:18 Jacob Hrbek [this message]
2021-11-14 9:49 ` bug#51833: (No Subject) Jacob Hrbek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0vikmU8M7HlOsjRKej0siT0rJjlgmN5Asnd1HpGeH_8xYz_okK-KtukDg6vO9U3wtmQrAd5FHhooRjJ__yE1jlcoQ17TqGPrYNiD6Bjk01w=@rixotstudio.cz' \
--to=kreyren@rixotstudio.cz \
--cc=51833@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).