Bug 2129747 (CVE-2022-41322)

Summary: CVE-2022-41322 kitty: notification identifiers are not sanitized correctly leading to code execution
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ego.cordatus, michel, zawertun
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: kitty 0.26.2 Doc Type: ---
Doc Text:
A vulnerability was found in kitty where the notification identifiers were not sanitized correctly leading to code execution if the user clicked on a notification popup from a malicious source.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-28 02:55:38 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: 2129748, 2129749    
Bug Blocks:    

Description TEJ RATHI 2022-09-26 08:55:49 UTC
In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code execution. The user must display attacker-controlled content in the terminal, then click on a notification popup.

https://github.com/kovidgoyal/kitty/compare/v0.26.1...v0.26.2
https://github.com/kovidgoyal/kitty/commit/f05783e64d5fa62e1aed603e8d69aced5e49824f
https://sw.kovidgoyal.net/kitty/changelog/#detailed-list-of-changes
https://bugs.gentoo.org/868543

Comment 1 TEJ RATHI 2022-09-26 08:56:15 UTC
Created kitty tracking bugs for this issue:

Affects: epel-all [bug 2129748]
Affects: fedora-all [bug 2129749]

Comment 2 Product Security DevOps Team 2022-11-28 02:55:36 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.