Skip to content

Enable support for AWS imdsv2 by upgrading aws-sdk version #40422

@logsnitch

Description

@logsnitch

Description

Hi,

In November 2019 AWS announced their "version 2" of the metadata service, to protect users against SSRF attacks leading to credential compromises:
https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/

Amazon updated all of their SDKs to make this transparent to users.

However, I'm unable to opt into this protection because the docker awslogs driver is running an old version of the aws-sdk. I'd like to request that the awslogs driver be updated to use any version of the aws-sdk 1.25.38 or higher, which is when support was added:
https://github.com/aws/aws-sdk-go/releases/tag/v1.25.38

More details on this issue: aws/containers-roadmap#670

Thanks very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions