CVE-2012-0878 json
Paste Script has improper group memberships permissions
published 2012-05-01 14 y ago modified 2026-07-13 3 mo ago also GHSA-27px-qpmj-qg38 , PYSEC-2012-15 , PYSEC-2026-2859 , EUVD-2012-0025
- cvss
- 6.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
Paste Script 1.7.5 and earlier does not properly set group memberships during execution with root privileges, which might allow remote attackers to bypass intended file-access restrictions by leveraging a web application that uses the local filesystem.
Patch / fix
- pypi pastescript 2.0.1
- pypi paste 1.7.5.1
- pastescript Debian 14, Debian 13, Debian 12 1.7.5-2
debian advisories DEBIAN-CVE-2012-0878
- python-paste-script RHEL 6 1.7.3-5.el6_3
red hat advisories RHSA-2012:1206
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-0878 updated cvss 5.1
python-paste-script: Supplementary groups not dropped when started an application with "paster serve" as root
-
Red Hat Enterprise Linux Server (v. 6) python-paste-script 1.7.3-5.el6_3 Red Hat Enterprise Linux Workstation (v. 6) python-paste-script 1.7.3-5.el6_3fixed: vendor fix RHSA-2012:1206
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.03% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pastescript | <2.0.1 |
2.0.1 |
| pypi | paste | <1.7.5.1 |
1.7.5.1 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
openwall.com
/lists/oss-security/2012/02/23/1
mailing-list, web, patch
-
bitbucket.org
/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve
web, patch
-
bitbucket.org
/ianb/pastescript/changeset/a19e462769b4
web, patch
-
github.com
/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe
web
-
rhn.redhat.com
/errata/RHSA-2012-1206.html
vendor-advisory, web, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=796790
web, report
-
secunia.com
/advisories/48812
third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2012/02/23/4
mailing-list, web
-
secunia.com
/advisories/50410
third-party-advisory, advisory
-
groups.google.com
/group/paste-users/browse_thread/thread/2aa651ba331c2471
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-0878
advisory
-
github.com
/pasteorg/pastescript
package
-
github.com
/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml
web
-
web.archive.org
/web/20140723093519/http://secunia.com/advisories/50410
web
-
web.archive.org
/web/20140803132259/http://secunia.com/advisories/48812
web
-
github.com
/advisories/GHSA-27px-qpmj-qg38
advisory
-
pypi.org
/project/pastescript
package
Sources
- CVE List CVE-2012-0878
- GitHub Advisory GHSA-27px-qpmj-qg38
- NVD CVE-2012-0878
- OSV PYSEC-2012-15
- OSV PYSEC-2026-2859
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.