82462 : Python distutils ~/.pypirc Permission Weakness Local Information Disclosure
Printer | http://osvdb.org/82462 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
17 564 12 months ago 5 months ago 6 times 100%

Timeline

Disclosure Date
2011-11-30

Description

Python contains a flaw that may lead to an unauthorized information disclosure. The issue is triggered when a race condition occurs within distutils, which will cause the ~/.pypirc to be created insecurely, disclosing authentication credentials to a local attacker.

Classification

Location: Local Access Required
Attack Type: Information Disclosure, Race Condition
Impact: Loss of Confidentiality
Solution: Third-Party Solution
Exploit: Exploit Public
Disclosure: Third-party Verified
OSVDB: Authentication Required

Solution

Currently, there are no known workarounds or upgrades to correct this issue. However, a patch has been committed to the program's repository that addresses this vulnerability. Until it is incorporated into the next release of the software, manually patching an existing installation is the only known available solution. Check the vendor advisory or solution URL in the references section.

Products

Python Software Foundation
Python
3.3
3.2
2.7

References

Credit

CVSSv2 Score

CVSSv2 Base Score = 1.9
Source: nvd.nist.gov | Generated: 2012-08-28 | Disagree?

Access_vector_0 Access_complexity_1 Authentication_2 Confidentiality_impact_1 Integrity_impact_0 Availability_impact_0

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2002 - 2013 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use