Network misconfigurations

Security group allows unrestricted outbound traffic

Description

An AWS Security Group acts as a virtual firewall for your instances to control inbound and outbound traffic. We identified the security group ""{AwsEc2SecurityGroup}"" ({AwsEc2SecurityGroup.GroupId}) is configured to allow outbound access to any IP address (0.0.0.0/0 or ::/0) for {SgIpPermissions.PortRange}.
  • Recommended Mitigation

    Ensure security groups in your account are configured to allow outbound access to specific IP addresses only. More details can be found in <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html" target="_blank" rel="noopener noreferrer">https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html</a>