Distro advisory · AmazonLinux 1
medium priority package update for postgresql9
AmazonLinux 1
What it fixes
Package updates are available for Amazon Linux that fix the following vulnerabilities: CVE-2012-2143: The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a Unicode password. A flaw was found in the way the crypt() password hashing function from the optional PostgreSQL pgcrypto contrib module performed password transformation when used with the DES algorithm. If the password string to be hashed contained the 0x80 byte value, the remainder of the string was ignored when calculating the hash, significantly reducing the password strength. This made brute-force guessing more efficient as the whole password was not required to gain access to protected resources. A flaw was found in the DES algorithm implementation in the crypt() password hashing function in PHP. If the password string to be hashed contained certain characters, the remainder of the string was ignored when calculating the hash, significantly reducing the password strength. 816956: CVE-2012-2143 BSD crypt(): DES encrypted password weakness
Manual fix · AmazonLinux 1
sudo yum updateinfo info ALAS-2012-91sudo yum upgrade --advisory=ALAS-2012-91rpm -q postgresql9