{"id":"GHSA-27px-qpmj-qg38","summary":"Paste Script has improper group memberships permissions","details":"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.","aliases":["CVE-2012-0878","PYSEC-2012-15","PYSEC-2026-2859"],"modified":"2026-07-13T16:56:48.252415385Z","published":"2022-05-17T05:12:26Z","database_specific":{"cwe_ids":[],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-04-30T14:42:19Z","nvd_published_at":"2012-05-01T19:55:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0878"},{"type":"WEB","url":"https://github.com/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe"},{"type":"WEB","url":"https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4"},{"type":"WEB","url":"https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=796790"},{"type":"PACKAGE","url":"https://github.com/pasteorg/pastescript"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml"},{"type":"WEB","url":"https://web.archive.org/web/20140723093519/http://secunia.com/advisories/50410"},{"type":"WEB","url":"https://web.archive.org/web/20140803132259/http://secunia.com/advisories/48812"},{"type":"WEB","url":"http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2012-1206.html"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/02/23/1"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2012/02/23/4"}],"affected":[{"package":{"name":"pastescript","ecosystem":"PyPI","purl":"pkg:pypi/pastescript"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"versions":["0.3","0.3.1","0.4","0.4.1","0.4.2","0.5","0.5.1","0.9","0.9.6","0.9.7","0.9.8","1.0","1.1","1.3","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.6","1.6.1","1.6.1.1","1.6.2","1.6.3","1.7","1.7.2","1.7.3","1.7.4","1.7.4.1","1.7.4.2","1.7.5","2.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-27px-qpmj-qg38/GHSA-27px-qpmj-qg38.json"}},{"package":{"name":"paste","ecosystem":"PyPI","purl":"pkg:pypi/paste"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5.1"}]}],"versions":["0.3","0.4","0.4.1","0.5","0.9","0.9.1","0.9.2","0.9.3","0.9.5","0.9.6","0.9.7","0.9.8","0.9.8.1","1.0","1.0.1","1.1","1.1.1","1.2","1.2.1","1.3","1.4","1.4.1","1.4.2","1.5","1.5.1","1.6","1.7","1.7.1","1.7.2","1.7.3","1.7.3.1","1.7.4","1.7.5"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-27px-qpmj-qg38/GHSA-27px-qpmj-qg38.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}