/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/control

  • Committer: Teddy Hogeborn
  • Date: 2014-06-08 03:10:08 UTC
  • Revision ID: teddy@recompile.se-20140608031008-mc9bd7b024a3q0y0
Address a very theoretical possible security issue in mandos-client.

If there were to run some sort of "cleaner" process for /run/tmp (or
/tmp), and mandos-client were to run for long enough for that cleaner
process to remove the temporary directory for GPGME, there was a
possibility that another unprivileged process could trick the (also
unprivileged) mandos-client process to remove other files or symlinks
which the unprivileged mandos-client process was allowed to remove.
This is not currently known to have been exploitable, since there are
no known initramfs environments running such cleaner processes.

* plugins.d/mandos-client.c (main): Use O_NOFOLLOW when opening
                                    tempdir for cleaning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Source: mandos
2
2
Section: admin
3
3
Priority: extra
4
 
Maintainer: Mandos Maintainers <mandos@fukt.bsnet.se>
5
 
Build-Depends: debhelper (>= 7), docbook-xsl, libavahi-core-dev,
6
 
        libgpgme11-dev, libgnutls-dev, xsltproc
7
 
Standards-Version: 3.8.0
8
 
Vcs-Bzr: ftp://anonymous@ftp.fukt.bsnet.se/pub/mandos/latest
9
 
Homepage: http://www.fukt.bsnet.se/mandos
 
4
Maintainer: Mandos Maintainers <mandos@recompile.se>
 
5
Uploaders: Teddy Hogeborn <teddy@recompile.se>,
 
6
           Björn Påhlsson <belorn@recompile.se>
 
7
Build-Depends: debhelper (>= 9), docbook-xml, docbook-xsl,
 
8
        libavahi-core-dev, libgpgme11-dev, libgnutls-dev, xsltproc,
 
9
        pkg-config
 
10
Build-Depends-Indep: systemd, python (>=2.6), python-gnutls,
 
11
        python-dbus, python-avahi, python-gobject,
 
12
        python (>=2.7) | python-argparse
 
13
Standards-Version: 3.9.5
 
14
Vcs-Bzr: http://ftp.recompile.se/pub/mandos/trunk
 
15
Vcs-Browser: http://bzr.recompile.se/loggerhead/mandos/trunk/files
 
16
Homepage: http://www.recompile.se/mandos
10
17
 
11
18
Package: mandos
12
19
Architecture: all
13
 
Depends: python (>=2.5), python-gnutls, python-dbus, python-avahi,
14
 
        avahi-daemon, gnupg (< 2), adduser
 
20
Depends: ${misc:Depends}, python (>=2.6), python-gnutls, python-dbus,
 
21
        python-avahi, python-gobject, avahi-daemon, adduser,
 
22
        python-urwid, python (>=2.7) | python-argparse, gnupg (<< 2),
 
23
        initscripts (>= 2.88dsf-13.3)
15
24
Recommends: fping
16
 
Description: a server giving encrypted passwords to Mandos clients
 
25
Description: server giving encrypted passwords to Mandos clients
17
26
 This is the server part of the Mandos system, which allows
18
27
 computers to have encrypted root file systems and at the
19
28
 same time be capable of remote and/or unattended reboots.
29
38
 whereupon the computers can continue booting normally.
30
39
 
31
40
Package: mandos-client
32
 
Architecture: any
33
 
Depends: ${shlibs:Depends}, adduser
 
41
Architecture: linux-any
 
42
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, cryptsetup,
 
43
        gnupg (<< 2), initramfs-tools, dpkg-dev (>=1.16.0)
 
44
Breaks: dropbear (<= 0.53.1-1)
34
45
Enhances: cryptsetup
35
46
Description: do unattended reboots with an encrypted root file system
36
47
 This is the client part of the Mandos system, which allows