7.8

CVE-2021-23240: fedoraproject fedora Link Following

CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2021-23240UBUNTU-CVE-2021-23240DEBIAN-CVE-2021-23240
Published 12-01-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-23240 is a high (CVSS 7.8) Link Following vulnerability in fedoraproject fedora. EPSS estimates a 1.08% chance of exploitation in the next 30 days, higher than 64.5% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (NVD)
EPSS score
1.08%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 8 · Related 6

Timeline

  1. 12-01-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

selinux_edit_copy_tfiles in sudoedit in Sudo before 1.9.5 allows a local unprivileged user to gain file ownership and escalate privileges by replacing a temporary file with a symlink to an arbitrary file target. This affects SELinux RBAC support in permissive mode. Machines without SELinux are not vulnerable.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.08%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

+0.01 pp

From 1.07% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.08%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (bugzilla.suse.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Netapp2 products
Alpine1 product
  • sudo≥ 1.9.0, < 1.9.5p2-r0 | ≥ 1.9.0, < 1.9.5-r0
Debian1 product
  • sudo< 1.9.5-1
Fedoraproject1 product
Sudo_project1 product
  • sudo< 1.8.32 | ≥ 1.9.0, < 1.9.5
Ubuntu1 product
  • sudoAll versions (No fix recorded)

6 vendors · 7 products

References

15 links
Show all 15 references