Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🛡️ security(VSecM): remove printAdditionalDetails from envInfo #1071

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

v0lkan
Copy link
Contributor

@v0lkan v0lkan commented Jul 14, 2024

🛡️ security(VSecM): remove printAdditionalDetails from envInfo

printAdditionalDetails is able to print arbitrary information about all environment variables. Giving too much info can be used as an aid to a possible attack vector; especially if environment is misconfigured.

Removing this from the source code.

If one wants environment information, they can always kubectl describe the associated Pod.

Note that we still display information like version number, and log level, etc.

printAdditionalDetails is able to print arbitrary information about all
environment variables. Giving too much info can be used as an aid to a
possible attack vector; especially if environment is misconfigured.

Signed-off-by: Volkan Özçelik <[email protected]>
@v0lkan v0lkan requested a review from farhan-pasha July 14, 2024 15:49
@v0lkan v0lkan self-assigned this Jul 14, 2024
@v0lkan v0lkan requested a review from BulldromeQ as a code owner July 14, 2024 15:49
@v0lkan v0lkan merged commit f85a253 into main Jul 14, 2024
@v0lkan v0lkan deleted the ovolkan/details branch July 14, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant