Attacker could modify the window title via a certain character escape sequence and then insert it back to the command line in the user's terminal, e.g. when the user views a file containing the malicious sequence, which could allow the attacker to execute arbitrary commands.
These bugs were found and disclosed by David Leadbeater dgl@dgl.cx (@dgl at Github.com)
Fixed in version ce596e0dc8cdb288bc7ed5c6a59011ee3a8dc171
There are no workarounds available
Similar exploits to this existed in the past, for terminal emulators:
https://nvd.nist.gov/vuln/detail/CVE-2003-0063 https://nvd.nist.gov/vuln/detail/CVE-2008-2383
Additional background and information is also available:
https://marc.info/?l=bugtraq&m=104612710031920&w=2 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510030
{ "nvd_published_at": "2022-12-02T23:15:16Z", "cwe_ids": [ "CWE-94" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2023-07-14T21:58:43Z" }