/mandos/release

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

« back to all changes in this revision

Viewing changes to mandos.lsm

  • Committer: Teddy Hogeborn
  • Date: 2014-06-08 03:10:08 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 317.
  • 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
Begin4
2
2
Title:          Mandos
3
 
Version:        1.8.17
4
 
Entered-date:   2024-09-12
 
3
Version:        1.6.5
 
4
Entered-date:   2014-05-11
5
5
Description:    The Mandos system allows computers to have encrypted
6
6
                root file systems and at the same time be capable of
7
7
                remote and/or unattended reboots.
11
11
                belorn@recompile.se (Björn Påhlsson)
12
12
Maintained-by:  teddy@recompile.se (Teddy Hogeborn),
13
13
                belorn@recompile.se (Björn Påhlsson)
14
 
Primary-site:   https://www.recompile.se/mandos
15
 
                241K mandos_1.8.17.orig.tar.gz
16
 
Alternate-site: ftp://ftp.recompile.se/pub/mandos
17
 
                241K mandos_1.8.17.orig.tar.gz
18
 
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.7, and
 
14
Primary-site: http://www.recompile.se/mandos
 
15
              159K mandos_1.6.5.orig.tar.gz
 
16
Alternate-site: ftp://ftp.recompile.se/pub/mandos
 
17
                159K mandos_1.6.5.orig.tar.gz
 
18
Platforms:      Requires GCC, GNU libC, Avahi, GnuPG, Python 2.6, and
19
19
                various other libraries.  While made for Debian
20
20
                GNU/Linux, it is probably portable to other
21
 
                distributions, but not other Unixes.
22
 
Copying-policy: GNU General Public License version 3.0 or later
 
21
                distributions, but not other Unixes. 
 
22
Copying-policy: GNU General Public License version 3.0 or later
23
23
End