Advisory

GHSA-27px-qpmj-qg38

Also known as: CVE-2012-0878, PYSEC-2012-15, PYSEC-2026-2859

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 05:12 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

pastescript

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.1 (ecosystem)

Fixed versions

2.0.1

Fix

  • Fixed version 2.0.1
    pip install --upgrade pastescript==2.0.1

paste

PyPI · All systems

Affected

  • introduced 0, fixed 1.7.5.1 (ecosystem)

Fixed versions

1.7.5.1

Fix

  • Fixed version 1.7.5.1
    pip install --upgrade paste==1.7.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences