Skip to content

sensitive file with too large permission #13084

Closed
@zzzzoy

Description

@zzzzoy

ingress-nginx-controller places the key file on the disk and use permission 0o700 for starting the nginx server. https://github.com/kubernetes/ingress-nginx/blob/main/pkg/util/file/filesystem.go
i think 0600 shall be enough.

$ ll /etc/ingress-controller/ssl/kube-system-ingress-cert.pem
-rwx------ 1 root root 4911 Mar 26 11:08 /etc/ingress-controller/ssl/kube-system-ingress-cert.pem

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.needs-priorityneeds-triageIndicates an issue or PR lacks a `triage/foo` label and requires one.

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions