Cross-site Scripting (XSS) Affecting python27 package, versions <0:2.7.16-1.131.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.43% (75th 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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN201803-PYTHON27-1720979
  • published27 Sept 2021
  • disclosed28 Sept 2019

Introduced: 28 Sep 2019

CVE-2019-16935  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 python27 to version 0:2.7.16-1.131.amzn1 or higher.
This issue was patched in ALAS-2020-1342.

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.

The documentation XML-RPC server in Python through 2.7.16, 3.x through 3.6.9, and 3.7.x through 3.7.4 has XSS via the server_title field. This occurs in Lib/DocXMLRPCServer.py in Python 2.x, and in Lib/xmlrpc/server.py in Python 3.x. If set_server_title is called with untrusted input, arbitrary JavaScript can be delivered to clients that visit the http URL for this server.

References

CVSS Scores

version 3.1