{"id":"CVE-2012-0878","aliases":["DEBIAN-CVE-2012-0878","EUVD-2012-0025","GHSA-27px-qpmj-qg38","PYSEC-2012-15","PYSEC-2026-2859","RHSA-2012:1206"],"status":"published","title":"Paste Script has improper group memberships permissions","description":"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.","severity":{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.04027,"percentile":0.90658,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-264"],"published":"2012-05-01T19:00:00Z","modified":"2026-10-23T17:47:28Z","fixes":[{"ecosystem":"PyPI","package":"pastescript","fixed_in":["2.0.1"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"paste","fixed_in":["1.7.5.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"pastescript","fixed_in":["1.7.5-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"pastescript","fixed_in":["1.7.5-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"pastescript","fixed_in":["1.7.5-2"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::server","package":"python-paste-script","fixed_in":["0:1.7.3-5.el6_3"],"sources":["osv"]},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"python-paste-script","fixed_in":["0:1.7.3-5.el6_3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pastescript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}]},{"source":"ghsa","ecosystem":"PyPI","package":"paste","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5.1"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"pastescript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"pastescript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"pastescript","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.7.5-2"}]}]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"PyPI","package":"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"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::server","package":"python-paste-script","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.3-5.el6_3"}]}]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:6::workstation","package":"python-paste-script","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:1.7.3-5.el6_3"}]}]}],"products":[{"vendor":"pythonpaste","product":"paste"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=796790","tags":["x_refsource_CONFIRM","x_transferred","report","web"]},{"url":"http://www.openwall.com/lists/oss-security/2012/02/23/1","tags":["mailing-list","x_refsource_MLIST","x_transferred","Patch","fix","web"]},{"url":"https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"http://secunia.com/advisories/48812","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2012/02/23/4","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1206.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://secunia.com/advisories/50410","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0878","tags":["advisory"]},{"url":"https://github.com/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe","tags":["web"]},{"url":"https://web.archive.org/web/20140723093519/http://secunia.com/advisories/50410","tags":["web"]},{"url":"https://web.archive.org/web/20140803132259/http://secunia.com/advisories/48812","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-27px-qpmj-qg38","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-0878","tags":["advisory"]},{"url":"https://github.com/pasteorg/pastescript","tags":["package"]},{"url":"https://pypi.org/project/pastescript","tags":["package"]},{"url":"https://access.redhat.com/errata/RHSA-2012:1206","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2012/rhsa-2012_1206.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2012-0878","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-0878","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-0878","description":"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.","status":"published","published":"2012-05-01T19:00:00Z","modified":"2024-08-06T18:38:15.02Z","updated_at":"2026-11-02T14:34:52.638543Z"}],"euvd":[{"id":"EUVD-2012-0025","description":"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.","status":"published","published":"2012-05-01T19:00:00Z","modified":"2024-08-06T18:38:15Z","updated_at":"2026-11-03T01:56:19.818597Z"}],"ghsa":[{"id":"GHSA-27px-qpmj-qg38","title":"Paste Script has improper group memberships permissions","description":"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.","status":"published","published":"2022-05-17T05:12:26Z","modified":"2024-10-09T20:54:40Z","cvss":[{"version":"4.0","score":7.1,"vector":"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","level":"high"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T14:38:09.785133Z"}],"nvd":[{"id":"CVE-2012-0878","description":"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.","status":"published","published":"2012-05-01T19:55:01.91Z","modified":"2026-06-16T23:38:26.41Z","cvss":[{"version":"2.0","score":5.1,"vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-264"],"updated_at":"2026-11-02T14:02:13.901526Z"}],"osv":[{"id":"GHSA-27px-qpmj-qg38","title":"Paste Script has improper group memberships permissions","description":"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.","status":"published","published":"2022-05-17T05:12:26Z","modified":"2026-07-13T16:43:34.84246926Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"updated_at":"2026-11-02T15:46:33.956911Z"},{"id":"PYSEC-2026-2859","title":"Paste Script has improper group memberships permissions","description":"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.","status":"published","published":"2026-07-09T16:49:46.570086Z","modified":"2026-07-13T16:43:34.84246926Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"4.0","score":7.1,"vector":"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","level":"high"}],"updated_at":"2026-11-02T15:52:56.429374Z"},{"id":"CVE-2012-0878","description":"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.","status":"published","published":"2012-05-01T19:55:01Z","modified":"2026-07-13T16:43:34.84246926Z","updated_at":"2026-11-02T15:43:58.537032Z"},{"id":"DEBIAN-CVE-2012-0878","description":"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.","status":"published","published":"2012-05-01T19:55:01.91Z","modified":"2026-10-23T17:47:28.205235311Z","updated_at":"2026-11-02T15:45:24.92418Z"},{"id":"PYSEC-2012-15","description":"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.","status":"published","published":"2012-05-01T19:55:00Z","modified":"2026-07-13T16:43:34.84246926Z","updated_at":"2026-11-02T15:52:51.254177Z"},{"id":"RHSA-2012:1206","title":"Red Hat Security Advisory: python-paste-script security update","status":"published","published":"2024-09-15T20:06:42Z","modified":"2025-11-22T10:38:51Z","updated_at":"2026-11-02T15:53:01.495018Z"}]}}
