Bug 1793652 - Support for AWS IMDS v2 (available in cloud-init 19.4)
Summary: Support for AWS IMDS v2 (available in cloud-init 19.4)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cloud-init
Version: 7.8
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: rc
: 7.9
Assignee: Eduardo Otubo
QA Contact: Frank Liang
Jiri Herrmann
URL:
Whiteboard:
: 1810704 (view as bug list)
Depends On:
Blocks: 1827098 1827207
TreeView+ depends on / blocked
 
Reported: 2020-01-21 18:34 UTC by Marc Methot
Modified: 2021-09-06 01:43 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
.cloud-init now supports IMDSv2 for AWS With this update, the `cloud-init` utility supports Instance Metadata Service version 2 (IMDSv2) for Amazon Web Services (AWS). As a result, RHEL virtual machines on AWS created by `cloud-init` can benefit from various identity management and security enhancement provided by IMDSv2.
Clone Of:
: 1827098 1827207 (view as bug list)
Environment:
Last Closed: 2020-09-29 19:48:41 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 4977371 0 None None None 2020-04-09 14:18:09 UTC
Red Hat Product Errata RHSA-2020:3898 0 None None None 2020-09-29 19:50:43 UTC

Description Marc Methot 2020-01-21 18:34:35 UTC
The version of cloud-init included with RHEL is older than 19.4 and as such it does not allow the use of session authentication.

Limited impact as AWS still supports IMDS v1, however customer requests' it.


Version-Release number of selected component (if applicable): 18.5

More info:
- https://github.com/canonical/cloud-init/commit/4bc399e0cd0b7e9177f948aecd49f6b8323ff30b
- https://github.com/canonical/cloud-init/blob/master/ChangeLog
- https://aws.amazon.com/blogs/security/defense-in-depth-open-firewalls-reverse-proxies-ssrf-vulnerabilities-ec2-instance-metadata-service/

Comment 12 Eduardo Otubo 2020-04-14 12:41:43 UTC
*** Bug 1810704 has been marked as a duplicate of this bug. ***

Comment 20 errata-xmlrpc 2020-09-29 19:48:41 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: cloud-init security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3898


Note You need to log in before you can comment on or make changes to this bug.