Improper Privilege Management Affecting sudo-devel package, versions <1.9.5p2-150300.3.19.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
55.37% (99th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES153-SUDODEVEL-3244131
  • published21 Jan 2023
  • disclosed20 Jan 2023

Introduced: 20 Jan 2023

CVE-2023-22809  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade SLES:15.3 sudo-devel to version 1.9.5p2-150300.3.19.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sudo-devel package and not the sudo-devel package as distributed by SLES. See How to fix? for SLES:15.3 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1