Gentoo: GLSA-202209-22: Kitty: Arbitrary Code Execution
Summary
Carter Sande discovered that maliciously constructed control sequences can cause Kitty to display a notification that, when clicked, can cause Kitty to execute arbitrary commands.
Resolution
All Kitty users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=x11-terms/kitty-0.26.2"
References
[ 1 ] CVE-2022-41322 https://nvd.nist.gov/vuln/detail/CVE-2022-41322
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202209-22
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Background
Kitty is a fast, feature-rich, GPU-based terminal.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 x11-terms/kitty < 0.26.2 >= 0.26.2
Impact
===== Kitty can produce notifications that, when clicked, can execute arbitrary commands.
Workaround
Avoid clicking unexpected notifications.