CVE-2012-0878
MEDIUM 5.1CVSS 2.0Paste Script has improper group memberships permissions
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.
- Published
- 1 May 2012
- Last modified
- 13 Jul 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264
- Also known as
- GHSA-27px-qpmj-qg38PYSEC-2012-15PYSEC-2026-2859
- Sources
- NVDJSONOSV GHSA-27px-qpmj-qg38JSONOSV PYSEC-2012-15JSONOSV PYSEC-2026-2859JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pythonpaste | pastecpe:2.3:a:pythonpaste:paste:*:*:*:*:*:*:*:* |
<= 1.7.5 | |
| OSV | PyPI | pastescript | < 2.0.1 | 2.0.1 |
| OSV | PyPI | paste | < 1.7.5.1 | 1.7.5.1 |
References
- http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471 · WEB
- http://rhn.redhat.com/errata/RHSA-2012-1206.html · WEB, ADVISORY
- http://secunia.com/advisories/48812 · ADVISORY
- http://secunia.com/advisories/50410 · ADVISORY
- http://www.openwall.com/lists/oss-security/2012/02/23/1 · Patch, WEB
- http://www.openwall.com/lists/oss-security/2012/02/23/4 · WEB
- https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4 · Patch, WEB
- https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve · Patch, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=796790 · WEB, REPORT
- https://nvd.nist.gov/vuln/detail/CVE-2012-0878 · ADVISORY
- https://github.com/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe · WEB
- https://github.com/pasteorg/pastescript · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml · WEB
- https://web.archive.org/web/20140723093519/http://secunia.com/advisories/50410 · WEB
- https://web.archive.org/web/20140803132259/http://secunia.com/advisories/48812 · WEB
- https://github.com/advisories/GHSA-27px-qpmj-qg38 · ADVISORY
- https://pypi.org/project/pastescript · PACKAGE
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 1 May 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 May 2012)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)