HistoryEditJSON (OSV)

RUSTSEC-2021-0102

Permissions bypass in pleaser

Reported
Issued
Package
pleaser (crates.io)
Type
Vulnerability
Categories
Aliases
References
CVSS Score
7.8 HIGH
CVSS Details
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Patched
  • >=0.4

Description

pleaseedit in pleaser before 0.4 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.

Advisory available under CC0-1.0 license.