Lucene search

K
amazonAmazonALAS2-2021-1640
HistoryMay 20, 2021 - 4:15 p.m.

Medium: python3

2021-05-2016:15:00
alas.aws.amazon.com
43
python
web cache poisoning
urllib.parse.parse_qsl
urllib.parse.parse_qs
parameter cloaking
cve-2021-23336
cve-2021-3426
amazon linux 2
yum update
security advisory

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:N/I:P/A:P

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

AI Score

7

Confidence

High

EPSS

0.001

Percentile

49.9%

Issue Overview:

The package python/cpython is vulnerable to Web Cache Poisoning via urllib.parse.parse_qsl and urllib.parse.parse_qs by using a vector called parameter cloaking. When the attacker can separate query parameters using a semicolon (;), they can cause a difference in the interpretation of the request between the proxy (running with default configuration) and the server. This can result in malicious requests being cached as completely safe ones, as the proxy would usually not see the semicolon as a separator, and therefore would not include it in a cache key of an unkeyed parameter. (CVE-2021-23336)

No description is available for this CVE. (CVE-2021-3426)

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.9-1.amzn2.0.3.aarch64  
    python3-libs-3.7.9-1.amzn2.0.3.aarch64  
    python3-devel-3.7.9-1.amzn2.0.3.aarch64  
    python3-tools-3.7.9-1.amzn2.0.3.aarch64  
    python3-tkinter-3.7.9-1.amzn2.0.3.aarch64  
    python3-test-3.7.9-1.amzn2.0.3.aarch64  
    python3-debug-3.7.9-1.amzn2.0.3.aarch64  
    python3-debuginfo-3.7.9-1.amzn2.0.3.aarch64  
  
i686:  
    python3-3.7.9-1.amzn2.0.3.i686  
    python3-libs-3.7.9-1.amzn2.0.3.i686  
    python3-devel-3.7.9-1.amzn2.0.3.i686  
    python3-tools-3.7.9-1.amzn2.0.3.i686  
    python3-tkinter-3.7.9-1.amzn2.0.3.i686  
    python3-test-3.7.9-1.amzn2.0.3.i686  
    python3-debug-3.7.9-1.amzn2.0.3.i686  
    python3-debuginfo-3.7.9-1.amzn2.0.3.i686  
  
src:  
    python3-3.7.9-1.amzn2.0.3.src  
  
x86_64:  
    python3-3.7.9-1.amzn2.0.3.x86_64  
    python3-libs-3.7.9-1.amzn2.0.3.x86_64  
    python3-devel-3.7.9-1.amzn2.0.3.x86_64  
    python3-tools-3.7.9-1.amzn2.0.3.x86_64  
    python3-tkinter-3.7.9-1.amzn2.0.3.x86_64  
    python3-test-3.7.9-1.amzn2.0.3.x86_64  
    python3-debug-3.7.9-1.amzn2.0.3.x86_64  
    python3-debuginfo-3.7.9-1.amzn2.0.3.x86_64  

Additional References

Red Hat: CVE-2021-23336, CVE-2021-3426

Mitre: CVE-2021-23336, CVE-2021-3426

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

HIGH

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:H/Au:N/C:N/I:P/A:P

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H

AI Score

7

Confidence

High

EPSS

0.001

Percentile

49.9%