Kitty
Kitty: Command injection into the child shell via chained @kitty-echo + @kitty-ssh DCS escape sequences
Kitty is a cross-platform GPU based terminal. Prior to 0.48.2, the @kitty-echo and @kitty-ssh DCS handlers in kitty/window.py write unauthenticated data to the child shell's stdin, where handle_remote_echo accepts printable shell command characters and handle_remote_ssh calls get_ssh_data in kittens/ssh/utils.py, which emits a newline; chaining the handlers can execute attacker-controlled commands when a user displays untrusted terminal data. This issue is fixed in version 0.48.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CNA · CWE-77
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
kovidgoyal kitty
- < 0.48.2
Fixed in 0.48.2
Mitigation
Upgrade kitty to 0.48.2 or later.
References
- Vendor advisory github.com/kovidgoyal/kitty/security/advisorie…
- Patch github.com/kovidgoyal/kitty/commit/9dca948e9be…
- Release notes github.com/kovidgoyal/kitty/releases/tag/v0.48…
1 more
- Release notes sw.kovidgoyal.net/kitty/changelog
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.