Bug 2142481

Summary: CVE-2022-45063 xterm: code execution via OSC 50 input sequences [fedora-all]
Product: [Fedora] Fedora Reporter: Sandipan Roy <saroy>
Component: xtermAssignee: Tomas Korbar <tkorbar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 36CC: dickey, tkorbar
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: xterm-375-1.fc36 xterm-375-1.fc37 xterm-375-1.fc35 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-20 01:29:19 UTC 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:    
Bug Blocks: 2142474    
Attachments:
Description Flags
backport from xterm 375 to 372 none

Description Sandipan Roy 2022-11-14 07:02:07 UTC
More information about this security flaw is available in the following bug:

http://bugzilla.redhat.com/show_bug.cgi?id=2142474

Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Comment 1 Sandipan Roy 2022-11-14 07:02:10 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# low, medium, high, urgent (required)
severity=high

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=2142474,2142481

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Thomas E. Dickey 2022-11-14 09:12:52 UTC
Created attachment 1924177 [details]
backport from xterm 375 to 372

Fedora 37 has xterm patch #372; the change made in 375 is in an area easily backported.

Comment 3 Tomas Korbar 2022-11-14 13:07:11 UTC
Hi Thomas, i will fix this with a rebase in all stable fedoras.

Comment 4 Fedora Update System 2022-11-14 13:26:00 UTC
FEDORA-2022-af5f1eee2c has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-af5f1eee2c

Comment 5 Fedora Update System 2022-11-14 13:37:25 UTC
FEDORA-2022-681bbe67b6 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-681bbe67b6

Comment 6 Fedora Update System 2022-11-14 13:58:27 UTC
FEDORA-2022-8cf76a9ceb has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-8cf76a9ceb

Comment 7 Fedora Update System 2022-11-15 02:22:57 UTC
FEDORA-2022-8cf76a9ceb has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-8cf76a9ceb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8cf76a9ceb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-11-15 02:35:28 UTC
FEDORA-2022-af5f1eee2c has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-af5f1eee2c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-af5f1eee2c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-11-15 02:36:37 UTC
FEDORA-2022-681bbe67b6 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-681bbe67b6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-681bbe67b6

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2022-11-20 01:29:19 UTC
FEDORA-2022-681bbe67b6 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-11-23 01:16:28 UTC
FEDORA-2022-af5f1eee2c has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2022-11-23 01:19:54 UTC
FEDORA-2022-8cf76a9ceb has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.