ALAS2-2019-1247


Amazon Linux 2 Security Advisory: ALAS-2019-1247
Advisory Release Date: 2019-07-18 17:40 Pacific
Advisory Updated Date: 2019-07-22 16:35 Pacific
Severity: Important

Issue Overview:

An issue was discovered in urllib2 in Python 2.x and urllib in Python 3.x. CRLF injection is possible if the attacker controls a url parameter, as demonstrated by the first argument to urllib.request.urlopen with \r\n (specifically in the path component of a URL that lacks a ? character) followed by an HTTP header or a Redis command. This is similar to the CVE-2019-9740 query string issue. (CVE-2019-9947, CVE-2019-9740)


Affected Packages:

python3


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


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

New Packages:
aarch64:
    python3-3.7.3-1.amzn2.0.2.aarch64
    python3-libs-3.7.3-1.amzn2.0.2.aarch64
    python3-devel-3.7.3-1.amzn2.0.2.aarch64
    python3-tools-3.7.3-1.amzn2.0.2.aarch64
    python3-tkinter-3.7.3-1.amzn2.0.2.aarch64
    python3-test-3.7.3-1.amzn2.0.2.aarch64
    python3-debug-3.7.3-1.amzn2.0.2.aarch64
    python3-debuginfo-3.7.3-1.amzn2.0.2.aarch64

i686:
    python3-3.7.3-1.amzn2.0.2.i686
    python3-libs-3.7.3-1.amzn2.0.2.i686
    python3-devel-3.7.3-1.amzn2.0.2.i686
    python3-tools-3.7.3-1.amzn2.0.2.i686
    python3-tkinter-3.7.3-1.amzn2.0.2.i686
    python3-test-3.7.3-1.amzn2.0.2.i686
    python3-debug-3.7.3-1.amzn2.0.2.i686
    python3-debuginfo-3.7.3-1.amzn2.0.2.i686

src:
    python3-3.7.3-1.amzn2.0.2.src

x86_64:
    python3-3.7.3-1.amzn2.0.2.x86_64
    python3-libs-3.7.3-1.amzn2.0.2.x86_64
    python3-devel-3.7.3-1.amzn2.0.2.x86_64
    python3-tools-3.7.3-1.amzn2.0.2.x86_64
    python3-tkinter-3.7.3-1.amzn2.0.2.x86_64
    python3-test-3.7.3-1.amzn2.0.2.x86_64
    python3-debug-3.7.3-1.amzn2.0.2.x86_64
    python3-debuginfo-3.7.3-1.amzn2.0.2.x86_64