From: Jacques Gelinas <jack@solucorp.qc.ca>
To: Linux kernel list <linux-kernel@vger.kernel.org>
Subject: Is writing to /dev/ramdom a security flaw (vserver project)
Date: Fri, 19 Oct 2001 17:23:09 -0500 [thread overview]
Message-ID: <20011019172309.4219c22e9a53@remtk.solucorp.qc.ca> (raw)
I have announced a project (see my signature) to run several virtual servers
on a single box (single kernel as well). The vservers are real linux distribution
running in a chroot/chbind/chcontext and capability limited environment.
While looking at the kernel we found out that writing to /dev/random is
not controlled by any capability. We are providing a /dev/random in
the vservers with permission 644, so it can be used.
Is this a security issue if an administrator of a vserver is allowed to write
in /dev/random ?
Looking at the source, it seems that it just increase the entropy and should
not be an issue. I am no expert in randomness.
If this is an issue, then a capability must exist to limit that (CAP_SYS_ADMIN
I guess).
Thanks!
---------------------------------------------------------
Jacques Gelinas <jack@solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc
next reply other threads:[~2001-10-19 21:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-19 22:23 Jacques Gelinas [this message]
2001-10-19 21:38 ` Christopher Friesen
2001-10-20 0:26 ` David Wagner
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011019172309.4219c22e9a53@remtk.solucorp.qc.ca \
--to=jack@solucorp.qc.ca \
--cc=linux-kernel@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®