RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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: 2024-11-21 02:52 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:
Embargoed:


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.