Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509348 - <dev-python/virtualenvwrapper-4.3.1: Insecure Permissions Security Issue
Summary: <dev-python/virtualenvwrapper-4.3.1: Insecure Permissions Security Issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Gentoo Security
URL: https://secunia.com/advisories/58206/
Whiteboard: ~4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-02 07:32 UTC by Agostino Sarubbo
Modified: 2016-03-29 07:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-05-02 07:32:56 UTC
From ${URL} :

Description

A security issue has been reported in the virtualenvwrapper module for Python, which can be exploited by malicious, local users to manipulate certain data.

The security issue is caused due to the application creating certain directories and scripts with insecure group-writable permissions. This can be exploited to e.g. manipulate the script files and subsequently e.g. execute arbitrary shell commands with privileges of another user.


Solution:
Fixed in the source code repository.

Provided and/or discovered by:
Simon Ruderich within a Debian bug report.

Original Advisory:
virtualenvwrapper:
https://bitbucket.org/dhellmann/virtualenvwrapper/commits/04f897165c1eb84e6fe52442b0a8fc9f01915aa6

Simon Ruderich:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745580


@maintainer(s): since the package or the affected version has never been marked as stable, we don't need to stabilize it. After the bump, please remove the affected versions from the tree.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-06-29 04:42:55 UTC
  29 Jun 2014; Ian Delaney <idella4@gentoo.org> -virtualenvwrapper-3.7.1.ebuild,
  -virtualenvwrapper-4.0.ebuild, -virtualenvwrapper-4.1.1.ebuild,
  -virtualenvwrapper-4.2.ebuild:
  clean old vulnerable versions wrt Bug #509348

Checked -4.3 and it has the patch merged.

This appears to need / warrant a stable version but is only a couple of weeks in portage.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2015-08-16 02:08:35 UTC
All vulnerable versions have been removed.

@security: Please mark this bug as resolved.
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2016-03-29 07:56:00 UTC
Per previous comments all vulnerable versions have been removed.