Input validation error in kitty - CVE-2022-41322

 

Input validation error in kitty - CVE-2022-41322

Published: September 29, 2022


Vulnerability identifier: #VU67753
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-41322
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input in the desktop notifications. A remote attacker can trick the victim to display attacker-controlled content in the terminal, then click on a notification popup and execute arbitrary code on the system.


Affected software

kitty
Gentoo Linux
Fedora
Ubuntu
kitty (Ubuntu package)
x11-terms/kitty
kitty

How to mitigate CVE-2022-41322

Install updates from vendor's website.

kitty - update to 0.26.2
kitty (Ubuntu package) - addressed in versions 0.15.0-1ubuntu0.2, 0.21.2-1ubuntu0.22.04.1
x11-terms/kitty - update to 0.26.2
kitty - addressed in versions 0.26.3-2.el9, 0.26.3-2.fc36, 0.26.3-2.fc37

External References

Related Security Bulletins