CVE-2022-45872

iTerm2 before 3.4.18 mishandles a DECRQSS response

Critical · published November 23, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
60.6
In the wild
Unconfirmed
What it is

🚨 A critical mismanagement of DECRQSS responses in iTerm2 before version 3.4.18 could spell disaster for your terminal sessions! 🔥 Imagine a restaurant where the server takes orders but misreads requests for extra spicy sauce as regular. It’s a recipe for chaos — that’s what happens when iTerm2 mishandles DECRQSS responses! An attacker could exploit this vulnerability to inject rogue commands into your terminal, potentially allowing them to execute arbitrary code and take full control of your system. This means they could snoop on sensitive data, manipulate files, or even set up traps for your unsuspecting users. Absolutely devastating!

Put simply

Imagine a restaurant where the server takes orders but misreads requests for extra spicy sauce as regular. It’s a recipe for chaos — that’s what happens when iTerm2 mishandles DECRQSS responses! This vulnerability allows for improper handling of DECRQSS responses, enabling attackers to manipulate terminal operations in unintended ways. It’s a severe oversight in input validation that opens the door to remote code execution.

What to do

An attacker could exploit this vulnerability to inject rogue commands into your terminal, potentially allowing them to execute arbitrary code and take full control of your system. This means they could snoop on sensitive data, manipulate files, or even set up traps for your unsuspecting users. Absolutely devastating! To protect your system, immediately update iTerm2 to version 3.4.18 or later. It’s crucial to audit your configurations and consider implementing additional security measures, such as using a firewall to monitor unexpected traffic. Don’t delay! You’ve got this! Stay vigilant and follow these steps to secure your terminal. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00941 · 60.6th percentile
Published
2022-11-23T00:00Z
EPSS history
Timeline
  • 23 NOV 00:00Z
    iTerm2 before 3.4.18 mishandles a DECRQSS response
    cvelistv5