CVE-2012-0878
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.
What to do
Fixed builds are available from Debian, PyPI, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | pastescript | Fixed | 1.7.5-2 | DEBIAN-CVE-2012-0878 |
| Debian 13 | pastescript | Fixed | 1.7.5-2 | DEBIAN-CVE-2012-0878 |
| Debian 12 | pastescript | Fixed | 1.7.5-2 | DEBIAN-CVE-2012-0878 |
| Red Hat Enterprise Linux 6 | python-paste-script | Fixed | 0:1.7.3-5.el6_3 | RHSA-2012:1206 |
| PyPI library | paste | Fixed | 1.7.5.1 | PYSEC-2012-15 |
| PyPI library | pastescript | Fixed | 2.0.1 | PYSEC-2026-2859 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://rhn.redhat.com/errata/RHSA-2012-1206.html (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=796790
- http://www.openwall.com/lists/oss-security/2012/02/23/1
- https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve
- http://secunia.com/advisories/48812
- http://www.openwall.com/lists/oss-security/2012/02/23/4
- http://rhn.redhat.com/errata/RHSA-2012-1206.html
- http://secunia.com/advisories/50410
- http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471
- https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.