Scott Kitterman:
> It would be nice to get a read from the Postfix developers if this issue
> recently reported to oss-security [1] is relevant to Postfix on systems with
> support for Berkeley DB databases?
Set-[ug]id privilege escalation with environment settings that
modify the behavior of a library? Not relevant.
Postfix daemon programs must be started by a root-privileged process.
There is no privilege escalation when you're already root. These
programs import only variables allowed by main.cf:import_environment,
but that is more a matter of hygiene than security.
To avoid privilege escalation, set-gid Postfix non-daemon programs
import only variables that are allowed by main.cf:import_environment.
Here, import_environment is a security feature.
Other Postfix non-daemon programs run with the same privileges as
the process that invokes the command. There is no privilege escalation.
Wietse