GLSA 202005-09: Python: Denial of Service

Severity:normal
Title:Python: Denial of Service
Date:05/14/2020
Bugs: #707822
ID:202005-09

Synopsis

A vulnerability in Python could lead to a Denial of Service condition.

Background

Python is an interpreted, interactive, object-oriented programming language.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/python < 2.7.18 >= 2.7.18 All supported architectures

Description

An issue was discovered in urllib.request.AbstractBasicAuthHandler which allowed a remote attacker to send malicious data causing extensive regular expression backtracking.

Impact

An attacker could cause a possible Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All Python 2.7 users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-lang/python-2.7.18:2.7"
    

All Python 3.6 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/python-3.6.10-r2:3.6"

All Python 3.7 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/python-3.7.7-r2:3.7"

All Python 3.8 users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-lang/python-3.8.2-r2:3.8"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202005-09.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!