Skip to content
Noroxi
CVE-2011-4944· NVD / CVE Program· CNA redhat

Python 2.6 through 3.2 creates ~/.pypirc with world-readable permissions before changing them after data has been written, which introduces

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.

LowCVSS 1.9 · v2.0—No exploit Fix available
Published
Aug 27, 2012
Updated
Jun 16, 2026
EPSS
0.4% · 35th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

7

Monitor

Low priority for now.

CVSS
7 / 40 · 1.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

Affected systems

VendorProduct
pythonpython

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • python python2.6.1
  • python python2.6.2
  • python python2.6.2150
  • python python2.6.3
  • python python2.6.4
  • python python2.6.5
  • python python2.6.6
  • python python2.6.6150
  • python python2.6.7
  • python python2.6.8
  • python python2.7.1
  • python python2.7.1150
  • python python2.7.2
  • python python2.7.2150
  • python python2.7.3
  • python python3.0
  • python python3.0.1
  • python python3.1
  • python python3.1.1
  • python python3.1.2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:11python2.7before 2.7.3~rc2-22.7.3~rc2-2
Debian:6.0python2.6before 2.6.6-8+deb6u12.6.6-8+deb6u1
openSUSE:Leap 15.1python3before 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Leap 15.1python3-basebefore 3.6.10-lp151.6.7.13.6.10-lp151.6.7.1
openSUSE:Tumbleweedpythonbefore 2.7.18-8.12.7.18-8.1
openSUSE:Tumbleweedpython-basebefore 2.7.12-1.42.7.12-1.4
openSUSE:Tumbleweedpython310before 3.10.0rc1-4.23.10.0rc1-4.2
openSUSE:Tumbleweedpython311before 3.11.0b1-1.13.11.0b1-1.1
openSUSE:Tumbleweedpython312before 3.12.0a7-1.13.12.0a7-1.1
openSUSE:Tumbleweedpython313before 3.13.0~b3-1.13.13.0~b3-1.1
openSUSE:Tumbleweedpython314before 3.14.0~a1-1.13.14.0~a1-1.1
openSUSE:Tumbleweedpython315before 3.15.0~a1-1.13.15.0~a1-1.1
openSUSE:Tumbleweedpython36before 3.6.15-1.13.6.15-1.1
openSUSE:Tumbleweedpython38before 3.8.12-1.23.8.12-1.2
openSUSE:Tumbleweedpython39before 3.9.7-2.13.9.7-2.1
Red Hat:enterprise_linux:5::clientpythonbefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:5::clientpython-debuginfobefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:5::clientpython-libsbefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:5::clientpython-toolsbefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:5::clienttkinterbefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:5::client_workstationpython-develbefore 0:2.4.3-46.el5_8.20:2.4.3-46.el5_8.2
Red Hat:enterprise_linux:6::clientpythonbefore 0:2.6.6-29.el6_2.20:2.6.6-29.el6_2.2
Red Hat:enterprise_linux:6::clientpython-debuginfobefore 0:2.6.6-29.el6_2.20:2.6.6-29.el6_2.2
Red Hat:enterprise_linux:6::clientpython-develbefore 0:2.6.6-29.el6_2.20:2.6.6-29.el6_2.2

+8

Other highest-scoring records for the same primary product.

  • CVE-2016-5636Integer overflow in the get_data function in zipimport.c in CPython (aka Python) before 2.7.12, 3.x before 3.4.5, and 3.5.x before 3.5.2 all
    47Plan
  • CVE-2007-4559Directory traversal vulnerability in the (1) extract and (2) extractall functions in the tarfile module in Python allows user-assisted remot
    47Plan
  • CVE-2021-3177Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Pyth
    46Plan
  • CVE-2014-4650The CGIHTTPServer module in Python 2.7.5 and 3.3.4 does not properly handle URLs in which URL encoding is used for path separators, which al
    46Plan
  • CVE-2018-1000802Python Software Foundation Python (CPython) version 2.7 contains a CWE-77: Improper Neutralization of Special Elements used in a Command ('C
    45Plan
  • CVE-2020-27619In Python 3 through 3.9.0, the Lib/test/multibytecodec_support.py CJK codec tests call eval() on content retrieved via HTTP.
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:python2.62.6.6-8+deb6u1 · Debian:6.0Package registry (OSV)
debian:python2.72.7.3~rc2-2 · Debian:11Package registry (OSV)
opensuse:python2.7.18-8.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python-base2.7.12-1.4 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python33.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3-base3.6.10-lp151.6.7.1 · openSUSE:Leap 15.1Package registry (OSV)
opensuse:python3103.10.0rc1-4.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3113.11.0b1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3123.12.0a7-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3133.13.0~b3-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python3143.14.0~a1-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python363.6.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python383.8.12-1.2 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:python393.9.7-2.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:python0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:python-debuginfo0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:python-devel0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:python-libs0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:python-test0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:python-tools0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
red hat:tkinter0:2.6.6-29.el6_2.2 · Red Hat:enterprise_linux:6::clientPackage registry (OSV)
suse:python2.7.17-7.32.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python-base2.7.17-7.32.1 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python33.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)
suse:python3-base3.6.10-3.42.2 · SUSE:Linux Enterprise Module for Basesystem 15Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    P · data can be read
    Integrity
    none
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    P
    Integrity impact
    None
    Availability impact
    None

    CVSS vector

    AV:L/AC:M/Au:N/C:P/I:N/A:N

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records