Skip to content

Security Misconfiguration: Absent Security Context and Use of HTTP Without TLS #2

Open
@akondasif

Description

@akondasif

Dear Colleague,

We are looking to find ways to help developers find security misconfigurations, i.e., violation of security best practices in Kubernetes manifests. We have noticed an instance of no security context in one of your Kubernetes manifests. The recommended practice is use of security context for pods. Without defining a security context for the pod, a container may run with root privilege and write permission into the root file system, making the Kubernetes cluster vulnerable. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).

Location:

- name: shoppingapi

Please use securityContext to fix this misconfiguration. We would like to hear if you agree to fix this misconfiguration or have fixed the misconfiguration.

Activity

changed the title [-]Anti-pattern: No security context for pods[/-] [+]Anti-pattern: No security context for pods and HTTP Without TLS[/+] on Nov 2, 2021
akondasif

akondasif commented on Nov 2, 2021

@akondasif
Author

Dear Colleague,

We are looking to find ways to help developers find security misconfigurations, i.e., violation of security best practices in Kubernetes manifests. We have noticed an instance of HTTP without TLS/SSL in one of your Kubernetes manifests. The recommended practice is use of secure HTTP for each team's development and production environment. Enabling TLS ensures secure communication between cluster components.. For examples of Kubernetes security anti-patterns we are following our peer-reviewed publication on Kubernetes security best practices (https://arxiv.org/pdf/2006.15275.pdf).

Location:

shoppingapi_url: http://shoppingapi-service

Please use SSL/TLS to fix this misconfiguration. We would like to hear if you agree to fix this misconfiguration or have fixed the misconfiguration.

changed the title [-]Anti-pattern: No security context for pods and HTTP Without TLS[/-] [+]Security Misconfiguration: Absent Security Context and Use of HTTP Without TLS[/+] on May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Security Misconfiguration: Absent Security Context and Use of HTTP Without TLS · Issue #2 · aspnetrun/run-devops