{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"low\"}"}}}], "affected": [{"vendor": "debian", "product": "python-pastescript", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.5-2", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2012-0878"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-05-01T19:00:00.000Z", "x_subShortName": "debian"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "python-paste-script", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.3-5.el6_3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2012-0878.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2012-08-27T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "python-paste-script", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.7.3-5.el6_3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:6"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2012:1206"}, {"url": "https://access.redhat.com/security/cve/CVE-2012-0878"}], "descriptions": [{"lang": "en", "value": "Python Paste provides middleware for building and running Python web\napplications. The python-paste-script package includes paster, a tool for\nworking with and running Python Paste applications.\n\nIt was discovered that paster did not drop supplementary group privileges\nwhen started by the root user. Running \"paster serve\" as root to start a\nPython web application that will run as a non-root user and group resulted\nin that application running with root group privileges. This could possibly\nallow a remote attacker to gain access to files that should not be\naccessible to the application. (CVE-2012-0878)\n\nAll paster users should upgrade to this updated package, which contains a\nbackported patch to resolve this issue. All running paster instances\nconfigured to drop privileges must be restarted for this update to take\neffect."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2012-02-06T00:00:00Z", "x_subShortName": "redhat_6"}}, {"metrics": [{"cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 6.5, "attackVector": "NETWORK", "baseSeverity": "MEDIUM", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N", "integrityImpact": "HIGH", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "LOW", "confidentialityImpact": "NONE"}}, {"cvssV4_0": {"version": "4.0", "baseScore": 7.1, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "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", "userInteraction": "NONE", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "subIntegrityImpact": "NONE", "vulnIntegrityImpact": "HIGH", "subAvailabilityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "vulnConfidentialityImpact": "NONE"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"HIGH\"}"}}}], "affected": [{"vendor": "pypi", "product": "paste", "versions": [{"status": "affected", "version": "0", "lessThan": "1.7.5.1", "versionType": "custom"}], "defaultStatus": "unaffected"}, {"vendor": "pypi", "product": "pastescript", "versions": [{"status": "affected", "version": "0", "lessThan": "2.0.1", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471"}, {"url": "http://rhn.redhat.com/errata/RHSA-2012-1206.html"}, {"url": "http://secunia.com/advisories/48812"}, {"url": "http://secunia.com/advisories/50410"}, {"url": "http://www.openwall.com/lists/oss-security/2012/02/23/1"}, {"url": "http://www.openwall.com/lists/oss-security/2012/02/23/4"}, {"url": "https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4"}, {"url": "https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=796790"}, {"url": "https://github.com/advisories/GHSA-27px-qpmj-qg38"}, {"url": "https://github.com/cdent/pastescript/commit/b5f36f2995e1ae117cc53d2bd458d7fb33e4cabe"}, {"url": "https://github.com/pasteorg/pastescript"}, {"url": "https://github.com/pypa/advisory-database/tree/main/vulns/paste/PYSEC-2012-15.yaml"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2012-0878"}, {"url": "https://pypi.org/project/pastescript"}, {"url": "https://web.archive.org/web/20140723093519/http://secunia.com/advisories/50410"}, {"url": "https://web.archive.org/web/20140803132259/http://secunia.com/advisories/48812"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "en", "value": "Paste Script has improper group memberships permissions"}], "providerMetadata": {"orgId": "28c92f92-d60d-412d-b760-e73465c3df22", "shortName": "pypi", "dateUpdated": "2012-05-01T19:55:00Z", "x_subShortName": "pypi"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5.1, "accessVector": "NETWORK", "vectorString": "AV:N/AC:H/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "HIGH", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:pythonpaste:paste:*:*:*:*:*:*:*:*"], "vendor": "pythonpaste", "product": "paste", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.7.5"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.openwall.com/lists/oss-security/2012/02/23/1", "tags": ["patch"]}, {"url": "https://bitbucket.org/ianb/pastescript/changeset/a19e462769b4", "tags": ["patch"]}, {"url": "https://bitbucket.org/ianb/pastescript/pull-request/3/fix-group-permissions-for-pastescriptserve", "tags": ["patch"]}, {"url": "http://groups.google.com/group/paste-users/browse_thread/thread/2aa651ba331c2471"}, {"url": "http://rhn.redhat.com/errata/RHSA-2012-1206.html"}, {"url": "http://secunia.com/advisories/48812"}, {"url": "http://secunia.com/advisories/50410"}, {"url": "http://www.openwall.com/lists/oss-security/2012/02/23/4"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=796790"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Paste Script v1.7.5 y versiones anteriores no ajustan correctamente los miembros del grupo durante la ejecución con privilegios de root, lo que podría permitir a atacantes remotos evitar restricciones de acceso a archivos mediante el aprovechamiento de una aplicación web que utiliza el sistema de ficheros local."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-264", "description": "CWE-264"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-05-01T19:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2012-0878", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2012-05-01T19:55:01Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}