7.8

CVE-2023-22809: apple macos Improper Privilege Management

CVSS: 7.8v3.1HighModified
AliasesALPINE-CVE-2023-22809MGASA-2023-0025SUSE-SU-2023:0100-1
Published 18-01-2023Last modified 04-04-2025

Vulnerability summary

CVE-2023-22809 is a high (CVSS 7.8) Improper Privilege Management vulnerability in apple macos. EPSS estimates a 55.37% chance of exploitation in the next 30 days, higher than 99% of scored vulnerabilities. 5 public exploits are recorded.

Overall risk
52/100
0100
High · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
55.37%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits5reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 18-01-2023
    PublishedVulnerability first disclosed.
  2. 04-04-2025
    Last modifiedVulnerability information updated.

Description

In Sudo before 1.9.12p2, the sudoedit (aka -e) feature mishandles extra arguments passed in the user-provided environment variables (SUDO_EDITOR, VISUAL, and EDITOR), allowing a local attacker to append arbitrary entries to the list of files to process. This can lead to privilege escalation. Affected versions are 1.8.0 through 1.9.12.p1. The problem exists because a user-specified editor may contain a "--" argument that defeats a protection mechanism, e.g., an EDITOR='vim -- /path/to/extra/file' value.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

55.37%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

0.00 pp

From 55.37% on 18-09-2026

18-09-202618-10-2026
EPSS score
55.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

5 found
  • referenceUnverified

    Exploit Reference (synacktiv.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (sudo.ws)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (openwall.com)

    Maturity: unknown

Show all 5 exploits
  • exploit-databaselocallinuxUnverified

    sudo 1.8.0 to 1.9.12p1 - Privilege Escalation

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Sudoedit Extra Arguments Priv Esc

    exploit/linux/local/sudoedit_bypass_priv_esc

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Suse29 products
  • sudo&distro=SUSE Enterprise Storage 6< 1.8.27-150000.4.38.1
  • sudo&distro=SUSE Enterprise Storage 7< 1.8.27-150000.4.38.1
  • sudo&distro=SUSE Enterprise Storage 7.1< 1.9.5p2-150300.3.19.1
  • sudo&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 1.8.27-150000.4.38.1
  • sudo&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 1.8.27-150000.4.38.1
Redhat6 products
  • sudo< 0:1.8.25p1-8.el8_1.3 | < 0:1.9.5p2-7.el9_0.2 | < 0:1.9.5p2-7.el9_1.1 | < 0:1.8.29-8.el8_6.1 | < 0:1.8.29-8.el8_7.1 | < 0:1.8.6p3-29.el6_10.7 | < 0:1.8.23-10.el7_9.3 | < 0:1.8.29-5.el8_2.2 | < 0:1.8.29-7.el8_4.2 | < 0:1.8.23-3.el7_6.3 | < 0:1.8.19p2-12.el7_4.3 | < 0:1.8.23-4.el7_7.4
  • sudo-debuginfo< 0:1.8.25p1-8.el8_1.3 | < 0:1.9.5p2-7.el9_0.2 | < 0:1.9.5p2-7.el9_1.1 | < 0:1.8.29-8.el8_6.1 | < 0:1.8.29-8.el8_7.1 | < 0:1.8.6p3-29.el6_10.7 | < 0:1.8.23-10.el7_9.3 | < 0:1.8.29-5.el8_2.2 | < 0:1.8.29-7.el8_4.2 | < 0:1.8.23-3.el7_6.3 | < 0:1.8.19p2-12.el7_4.3 | < 0:1.8.23-4.el7_7.4
  • sudo-debugsource< 0:1.8.25p1-8.el8_1.3 | < 0:1.9.5p2-7.el9_0.2 | < 0:1.9.5p2-7.el9_1.1 | < 0:1.8.29-8.el8_6.1 | < 0:1.8.29-8.el8_7.1 | < 0:1.8.29-5.el8_2.2 | < 0:1.8.29-7.el8_4.2
  • sudo-devel< 0:1.8.6p3-29.el6_10.7 | < 0:1.8.23-10.el7_9.3 | < 0:1.8.23-3.el7_6.3 | < 0:1.8.19p2-12.el7_4.3 | < 0:1.8.23-4.el7_7.4
  • sudo-python-plugin< 0:1.9.5p2-7.el9_0.2 | < 0:1.9.5p2-7.el9_1.1
Opensuse4 products
  • sudo&distro=openSUSE Leap 15.4< 1.9.9-150400.4.12.1
  • sudo&distro=openSUSE Leap Micro 5.2< 1.9.5p2-150300.3.19.1
  • sudo&distro=openSUSE Leap Micro 5.3< 1.9.9-150400.4.12.1
  • sudo&distro=openSUSE Tumbleweed< 1.9.12p2-1.1
Debian2 products
  • sudo< 1.9.12p2-1 | < 1.9.5p2-3+deb11u1 | < 1.8.27-1+deb10u5
  • debian_linuxEOL10.0 | 11.0
Alpine1 product
  • sudo≥ 1.8.0, < 1.9.12_p2-r0
Apple1 product
Fedoraproject1 product
Mageia1 product
  • sudo< 1.9.5p2-2.2.mga8
Sudo_project1 product
  • sudo≥ 1.8.0, < 1.9.12 | 1.9.12 | 1.9.12:p1
Ubuntu1 product
  • sudo< 1.8.21p2-3ubuntu1.5 | < 1.8.31-1ubuntu1.4 | < 1.9.9-1ubuntu2.2 | < 1.8.16-0ubuntu1.10+esm1 | < 1.8.9p5-1ubuntu1.5+esm7

10 vendors · 47 products

References

62 links
Show all 62 references