GHSA-pp74-39w2-v4w9

Suggest an improvement
Source
https://github.com/advisories/GHSA-pp74-39w2-v4w9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-pp74-39w2-v4w9/GHSA-pp74-39w2-v4w9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pp74-39w2-v4w9
Aliases
Published
2021-08-25T21:01:44Z
Modified
2023-11-08T04:05:47.070490Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Permissions bypass in pleaser
Details

pleaseedit in pleaser before 0.4.0 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.

Database specific
{
    "nvd_published_at": "2021-05-27T13:15:00Z",
    "github_reviewed_at": "2021-06-01T19:34:12Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-340",
        "CWE-59"
    ]
}
References

Affected packages

crates.io / pleaser

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.4.0