CVE-2012-0878: Vulnerability in Paste Script

paste Updated 02 Oct 2025

Summary

01/05/2012
Yes i
Unrated
Not published

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... Affects paste versions < 1.7.5.1. Fixed in 1.7.5.1. How to fix ↓

Also tracked for

The same CVE-2012-0878 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Paste Script is a Python package available on PyPI that provides a set of command-line tools for working with web applications. It is commonly used in conjunction with web frameworks like Pylons and TurboGears. The package allows developers to create and manage web application templates, handle HTTP requests, and perform various other web-related tasks. However, versions 1.7.5 and earlier of Paste Script suffer from a vulnerability that affects the proper setting of group memberships when executed with root privileges. This flaw can be exploited by remote attackers through a web application that utilizes the local filesystem, potentially allowing them to bypass intended file-access restrictions.

Vulnerability Detail

The vulnerability in Paste Script arises from its failure to correctly set group memberships during execution with root privileges. This oversight can be leveraged by attackers who have access to a web application that interacts with the local filesystem. By exploiting this vulnerability, an attacker may be able to circumvent intended file-access restrictions and gain unauthorized access to sensitive files or directories. The impact of this vulnerability depends on the specific permissions and file-access controls in place on the affected system. It is important to note that this vulnerability has been assigned the CVE identifier CVE-2012-0878.

How To Fix

Minimum fixed version

1.7.5.1

This is the first release that contains the fix.

pip install --upgrade "paste==1.7.5.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround provided for this vulnerability. However, users can consider implementing additional access controls and permissions on sensitive files and directories to mitigate the risk of unauthorized access. It is important to note that such workarounds may vary depending on the specific web application and system configuration.

Conclusion

In conclusion, the Paste Script package versions 1.7.5 and earlier suffer from a vulnerability that can be exploited by remote attackers through a web application. This flaw allows attackers to bypass file-access restrictions and potentially gain unauthorized access to sensitive files or directories. Users are advised to update their installations to version 1.7.5.1 or later to mitigate the risk associated with this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for paste →

Share this vulnerability

FAQ

Paste Script is a Python package that provides command-line tools for working with web applications.

Versions 1.7.5 and earlier of Paste Script are affected by this vulnerability.

This vulnerability can be exploited by remote attackers through a web application that interacts with the local filesystem.

The impact of this vulnerability depends on the specific permissions and file-access controls in place on the affected system. It may allow attackers to bypass intended file-access restrictions and gain unauthorized access to sensitive files or directories.

Yes, this vulnerability has been assigned the CVE identifier CVE-2012-0878.

Related vulnerabilities

Recent vulnerabilities recorded for paste.

How To Fix

Minimum fixed version

1.7.5.1

This is the first release that contains the fix.

pip install --upgrade "paste==1.7.5.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback