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

chore(cloudformation): Only allow IMDSv2 on Gateway instances #2934

Merged
merged 2 commits into from
Oct 14, 2024
Merged

Conversation

AshCorr
Copy link
Member

@AshCorr AshCorr commented Oct 11, 2024

What does this change?

As per https://docs.aws.amazon.com/securityhub/latest/userguide/ec2-controls.html#ec2-8 we should not be allowing access to IMDSv1 anymore.

This resolves 4 HIGH FSBP vulnerabilities.

How to test

Check Cloudwatch metrics for any usage of MetadataNoToken, if no usage then it is safe for us to disable IMDSv1.

image

@AshCorr AshCorr requested a review from a team as a code owner October 11, 2024 10:12
@coldlink coldlink requested review from guardian-ci and removed request for guardian-ci October 14, 2024 09:53
@AshCorr AshCorr merged commit b9e2e18 into main Oct 14, 2024
20 checks passed
@AshCorr AshCorr deleted the ash/imdsv2 branch October 14, 2024 10:41
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.

2 participants