Bug 2142474 (CVE-2022-45063)

Summary: CVE-2022-45063 xterm: code execution via OSC 50 input sequences
Product: [Other] Security Response Reporter: Sandipan Roy <saroy>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fdeutsch, jburrell, jstephen, michal.skrivanek, mperina, mpitt, oramraz, sgratch, smullick, spoore, tkorbar, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in xterm. This issue may allow code execution via font ops.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2142478, 2142479, 2142480, 2142481, 2142482, 2142898, 2142899, 2143111, 2143112    
Bug Blocks: 2141797    

Description Sandipan Roy 2022-11-14 06:47:50 UTC
xterm before 375 allows code execution via font ops, e.g., because an OSC 50 response may have Ctrl-g and therefore lead to command execution within the vi line-editing mode of Zsh. NOTE: font ops are not allowed in the xterm default configurations of some Linux distributions.

https://invisible-island.net/xterm/xterm.log.html
https://www.openwall.com/lists/oss-security/2022/11/10/1
https://news.ycombinator.com/item?id=33546415
http://www.openwall.com/lists/oss-security/2022/11/10/1
http://www.openwall.com/lists/oss-security/2022/11/10/5

Comment 1 Sandipan Roy 2022-11-14 07:02:30 UTC
Created cockpit tracking bugs for this issue:

Affects: fedora-all [bug 2142478]


Created cockpit-podman tracking bugs for this issue:

Affects: fedora-all [bug 2142479]


Created cockpit-session-recording tracking bugs for this issue:

Affects: fedora-all [bug 2142480]


Created xterm tracking bugs for this issue:

Affects: fedora-all [bug 2142481]


Created zuul tracking bugs for this issue:

Affects: fedora-all [bug 2142482]

Comment 8 errata-xmlrpc 2025-05-13 11:56:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2025:7427 https://access.redhat.com/errata/RHSA-2025:7427