Shipped distutils enforces insecure uploads to PyPI

Bug #1189042 reported by anatoly techtonik
256
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

`distutils` module which comes with Python distribution provides way for people to upload their Python packages to PyPI catalog. The URL shipped with distutils uses insecure HTTP access method, which allows harvesting PyPI passwords through sniffing
over insecure networks (such as public WiFi spots) to be used for malicious uploads.

Changing URL to HTTPS scheme will enable encryption and will protect PyPI from passive attacks. Checking HTTPS certificates to protect from active MITM attack is not the scope of this issue.

The CVE number for this issue is assigned, but not disclosed - http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1754 And it is open way for too long - http://bugs.python.org/issue12226 - the fix for the issue is available, patch is working and should be applied in Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: python 2.7.4-0ubuntu1
ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
Uname: Linux 3.8.0-23-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: i386
Date: Sun Jun 9 00:18:41 2013
InstallationDate: Installed on 2012-03-12 (453 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
MarkForUpload: True
SourcePackage: python-defaults
UpgradeStatus: Upgraded to raring on 2013-04-20 (49 days ago)

CVE References

Revision history for this message
anatoly techtonik (techtonik) wrote :
information type: Private Security → Public Security
summary: - Shipped distutils enforce Insecure uploads to PyPI
+ Shipped distutils enforces insecure uploads to PyPI
description: updated
Changed in python-defaults (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.