Advisory

GHSA-vc5p-j8vw-mc6x

Also known as: CVE-2021-31155, RUSTSEC-2021-0101

Summary

Permissions bypass in pleaser

Details

Failure to normalize the umask in pleaser before 0.4.0 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-25 21:01 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

pleaser

crates.io · All systems

Affected

  • introduced 0, fixed 0.4.0 (semver)

Fixed versions

0.4.0

Fix

  • Fixed version 0.4.0
    cargo update -p pleaser --precise 0.4.0

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