Publicly accessible EC2 instance uses IMDSv1

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

A publicly-accessible EC2 instance uses the Instance Metadata Service (IMDS) Version 1.

Using IMDSv1 increases the risk of attackers stealing your AWS IAM credentials via vulnerabilities like Server-Side Request Forgery (SSRF). In this scenario, attackers can abuse applications running on an EC2 instance to steal your keys and begin accessing your cloud environment. For more information, see our Datadog Security Labs article on IMDS security and why upgrading to IMDSv2 is essential.

Remediation

  1. Follow the Transition to using Instance Metadata Service Version 2 docs to learn how to transition and reconfigure your software.
PREVIEWING: safchain/fix-custom-agent