slapd Apparmor profile allows /tmp widely
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Currently debian/
/var/tmp/** rw,
This is quite wide. Can we narrow it down? There are a couple of alternative opportunities here:
1) Remove that line, and define instead more specific path rules, such as "/var/tmp/
2) Retain that line, add a "k", move slapd to a native systemd service and use PrivateTmp=yes.
A third opportunity, independent of the above, is to move the rules to an abstraction that any sasl+gssapi+krb5 -using service could include.
This discussion came up in https:/
Related branches
- Christian Ehrhardt (community): Approve
- Bryce Harrington (community): Needs Information
- Canonical Server: Pending requested
- Canonical Server packageset reviewers: Pending requested
-
Diff: 30 lines (+11/-0)2 files modifieddebian/apparmor-profile (+1/-0)
debian/changelog (+10/-0)
Any advice/comment from the security team on this please?