All reports
Medium

sudo: Sudo does not escape control characters in sudoreplay output

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-28487

Probability of exploitation in the next 30 days: 0.95%

FIRST EPSS · 2026-11-22

Description

Sudo before 1.9.13 does not escape control characters in sudoreplay output.

A flaw was found in the sudo package, shipped with Red Hat Enterprise Linux 8 and 9, where the "sudoreplay -l' command improperly escapes terminal control characters. As sudo's log messages may contain user-controlled strings, this could allow an attacker to inject terminal control commands, leading to a leak of restricted information.