Amazon Linux AMI Security Advisory: ALAS-2014-401
Advisory Release Date: 2014-09-19 12:01 Pacific
It was found that the distcheck rule in Automake-generated Makefiles made a directory world-writable when preparing source archives. If a malicious, local user could access this directory, they could execute arbitrary code with the privileges of the user running "make distcheck".
Run yum update automake19 to update your system.