Security mailing lists by PureSourceCode

CVE-2021-31154

HIGH 7.8CVSS 3.1

Permissions bypass in pleaser

pleaseedit in please 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.

Published
27 May 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-340CWE-59CWE-668
Also known as
GHSA-pp74-39w2-v4w9RUSTSEC-2021-0102
Sources
NVDJSONOSV GHSA-pp74-39w2-v4w9JSONOSV RUSTSEC-2021-0102JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pleaseedit_project pleaseedit
cpe:2.3:a:pleaseedit_project:pleaseedit:*:*:*:*:*:*:*:*
< 0.4 0.4
OSV crates.io pleaser < 0.4.0 0.4.0
OSV crates.io pleaser >= 0.0.0-0, < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.