Summary: | <dev-python/pastescript-2.0.2: Supplementary groups not dropped when started an application with "paster serve" as root (CVE-2012-0878) | ||||||
---|---|---|---|---|---|---|---|
Product: | Gentoo Security | Reporter: | Agostino Sarubbo <ago> | ||||
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | trivial | CC: | python | ||||
Priority: | Normal | ||||||
Version: | unspecified | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
URL: | https://bugzilla.redhat.com/show_bug.cgi?id=796790 | ||||||
Whiteboard: | B4 [noglsa] | ||||||
Package list: | Runtime testing required: | --- | |||||
Attachments: |
|
Description
Agostino Sarubbo
![]() Created attachment 303711 [details, diff]
files/pastescript-1.7.5-usermod.patch
This has the second of the two files included. The first relies on a hg clone import of the source which rather evades the issue of a current tarball based ebuild. It merely adds .pyc to a file .hgignore which isn't critical to its reason d'etre. The first is simply commented out the remainder contains the patch's source from bitbucket.
testuser@archtester ~ $ paster
Usage: /usr/bin/paster COMMAND
Usage: paster [paster_options] COMMAND [command_options]
Options:
--version show program's version number and exit
--plugin=PLUGINS Add a plugin to the list of commands (plugins are Egg
specs; will also require() the Egg)
-h, --help Show this help message
Commands:
create Create the file layout for a Python distribution
help Display help
make-config Install a package and create a fresh config file/directory
points Show information about entry points
post Run a request for the described application
request Run a request for the described application
serve Serve the described application
setup-app Setup an application, given a config file
proves it is working as user. Looking good
It is fixed in pastescript-2.0; current version is pastescript-2.0.2, which seems to add also python3 support, too. *pastescript-2.0.2 (15 Jun 2015) + + 15 Jun 2015; Justin Lecher <jlec@gentoo.org> +pastescript-2.0.2.ebuild: + Version Bump; bug #405821; fixes CVE-2012-0878 + @arches please stabilize dev-python/paste-2.0.2 dev-python/pastescript-2.0.2 ReCategorizing as B4 amd64 stable x86 stable. Maintainer(s), please cleanup. Security, please vote. + 17 Jun 2015; Justin Lecher <jlec@gentoo.org> -pastescript-1.7.5-r2.ebuild: + Drop vulnerable version + Cleaned. Just to clarify, only pastescript was vulnerable but paste was needed for the bump. Arches and Maintainer(s), Thank you for your work. GLSA Vote: No GLSA vote: no. |