ALAS-2020-1375


Amazon Linux AMI Security Advisory: ALAS-2020-1375
Advisory Release Date: 2020-06-03 17:23 Pacific
Severity: Medium
References: CVE-2018-20852 

Issue Overview:

http.cookiejar.DefaultPolicy.domain_return_ok in Lib/http/cookiejar.py in Python before 3.7.3 does not correctly validate the domain: it can be tricked into sending existing cookies to the wrong server. An attacker may abuse this flaw by using a server with a hostname that has another valid hostname as a suffix (e.g., pythonicexample.com to steal cookies for example.com). When a program uses http.cookiejar.DefaultPolicy and tries to do an HTTP connection to an attacker-controlled server, existing cookies can be leaked to the attacker. This affects 2.x through 2.7.16, 3.x before 3.4.10, 3.5.x before 3.5.7, 3.6.x before 3.6.9, and 3.7.x before 3.7.3.(CVE-2018-20852 )


Affected Packages:

python27


Issue Correction:
Run yum update python27 to update your system.

New Packages:
i686:
    python27-devel-2.7.18-1.137.amzn1.i686
    python27-libs-2.7.18-1.137.amzn1.i686
    python27-test-2.7.18-1.137.amzn1.i686
    python27-tools-2.7.18-1.137.amzn1.i686
    python27-2.7.18-1.137.amzn1.i686
    python27-debuginfo-2.7.18-1.137.amzn1.i686

src:
    python27-2.7.18-1.137.amzn1.src

x86_64:
    python27-devel-2.7.18-1.137.amzn1.x86_64
    python27-debuginfo-2.7.18-1.137.amzn1.x86_64
    python27-2.7.18-1.137.amzn1.x86_64
    python27-tools-2.7.18-1.137.amzn1.x86_64
    python27-test-2.7.18-1.137.amzn1.x86_64
    python27-libs-2.7.18-1.137.amzn1.x86_64