Skip to content

Flip USER back to nginx before docker expose/cmd #42

@johnmschoonover

Description

@johnmschoonover

If an attacker finds a zero-day exploit in Nginx 1.27, they would theoretically have root access inside the container. I can mitigate this by switching to the nginx user (which comes built-in) before the CMD.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions