Access Restriction Bypass Affecting python package, versions [2.6.1,2.7.4rc1)[3.0a1,3.2.4rc1)[3.3.0a1,3.3.1rc1)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PYTHON-2317726
  • published14 Dec 2021
  • disclosed27 Aug 2012
  • creditUnknown

Introduced: 27 Aug 2012

CVE-2011-4944  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade python to version 2.7.4rc1, 3.2.4rc1, 3.3.1rc1 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces a race condition that allows local users to obtain a username and password by reading this file.

CVSS Base Scores

version 3.1