Skip to content

--clearenv leaks environment #725

@niansa

Description

@niansa

Hi,

You'd expect --unshare-pid --proc /proc --clearenv to safely hide all environment variables. However, when not using --as-pid-1, the environment is leaked in /proc/1/environ!

Not sure if this is actually relevant security wise, but I'd better hope nobody is using --clearenv to clear sensitive environment variables!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions