Important: cloud-init

2016-11-10T18:00:00
ID ALAS-2016-763
Type amazon
Reporter Amazon
Modified 2016-11-10T18:00:00

Description

Issue Overview:

It was discovered that cloud-init in the Amazon Linux AMI wrote IAM role credentials from the instance metadata service to files readable by the root user in /var/lib/cloud. An application with root privileges, a container with access to the relevant files, or a root user of an AMI derived from a previously launched AMI could read and use the credentials. (IAM role credentials expire after 6 hours.)

Affected Packages:

cloud-init

Issue Correction:
Run yum update cloud-init to update your system. To delete the files which contain credentials, run rm /var/lib/cloud/instance/obj.pkl /var/lib/cloud/instances/*/obj.pkl.

New Packages:

noarch:  
    cloud-init-0.7.6-2.13.amzn1.noarch

src:  
    cloud-init-0.7.6-2.13.amzn1.src