rxvt-unicode: Arbitrary Code Execution — GLSA 202310-20

A vulnerability has been discovered in rxvt-unicode where data written to the terminal can lead to code execution.

Affected packages

x11-terms/rxvt-unicode on all architectures
Affected versions < 9.30
Unaffected versions >= 9.30

Background

rxvt-unicode is a clone of the well known terminal emulator rxvt.

Description

A vulnerability has been discovered in rxvt-unicode. Please review the CVE identifiers referenced below for details.

Impact

in the Perl background extension, when an attacker can control the data written to the user's terminal and certain options are set. The "background" extension is automatically loaded if certain X resources are set such as 'transparent' (see the full list at the top of src/perl/background[1]). So it is possible to be using this extension without realising it.

Workaround

There is no known workaround at this time.

Resolution

All rxvt-unicode users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=x11-terms/rxvt-unicode-9.30"
 

References

Release date
October 30, 2023

Latest revision
October 30, 2023: 1

Severity
high

Exploitable
local and remote

Bugzilla entries