Improper Encoding or Escaping of Output Affecting python27 package, versions <0:2.7.18-2.140.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.2% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-PYTHON27-1724471
  • published27 Sept 2021
  • disclosed27 Sept 2020

Introduced: 27 Sep 2020

CVE-2020-26116  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 python27 to version 0:2.7.18-2.140.amzn1 or higher.
This issue was patched in ALAS-2020-1454.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python27 package and not the python27 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

http.client in Python 3.x before 3.5.10, 3.6.x before 3.6.12, 3.7.x before 3.7.9, and 3.8.x before 3.8.5 allows CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request.

References

CVSS Scores

version 3.1