Free and open-source vulnerability scanner

Mageni eases for you the vulnerability scanning, assessment, and management process. It is free and open-source.

Install Now

Available for macOS, Windows, and Linux

App screenshot

Sudo Heap-Based Buffer Overflow (Baron Samedit) Vulnerability (Active LSC)

Information

Severity

Severity

Critical

Family

Family

Buffer overflow

CVSSv2 Base

CVSSv2 Base

10.0

CVSSv2 Vector

CVSSv2 Vector

AV:N/AC:L/Au:N/C:C/I:C/A:C

Solution Type

Solution Type

Vendor Patch

Created

Created

3 years ago

Modified

Modified

3 years ago

Summary

Sudo is prone to a heap-based buffer overflow dubbed 'Baron Samedit'.

Insight

Insight

Sudo is allowing privilege escalation to root via 'sudoedit -s' and a command-line argument that ends with a single backslash character.

Affected Software

Affected Software

All legacy versions from 1.8.2 to 1.8.31p2 and all stable versions from 1.9.0 to 1.9.5p1 in their default configuration.

Detection Method

Detection Method

Runs a specific SSH command after the login to the target which is known to trigger an error message on affected versions of Sudo.

Solution

Solution

Update to version 1.9.5p2 or later.

Common Vulnerabilities and Exposures (CVE)