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

vpc-bridge plugin use hard-coded path to k8s connector binary #100

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

KlwntSingh
Copy link
Contributor

Issue #, if available:
Lower privilege user on Windows can change path to binary in AWS_VPC_CNI_K8S_CONNECTOR_BINARY_PATH env variable to execute unintended binary with highest privilege.

Description of changes:
Removing env variable AWS_VPC_CNI_K8S_CONNECTOR_BINARY_PATH which was used by CNI to get path to connector binary. CNI plugin will use hard-coded path to binary and execute it i.e. C:\Program Files\Amazon\EKS\bin\aws-vpc-cni-k8s-connector.exe

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

1. Removing env variable AWS_VPC_CNI_K8S_CONNECTOR_BINARY_PATH which
was used by CNI to get path to connector binary.
@jterry75 jterry75 merged commit 0425e5b into aws:master Jul 18, 2023
2 checks passed
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.

None yet

2 participants