CVE-2024-38395

In iTerm2 before 3.5.2, the "Terminal may report window title" setting is not honored, and thus remote code execution might occur but "is not trivially…

Critical · published June 16, 2024

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

🚨 A hidden flaw in iTerm2 could allow attackers to execute remote code before you even know what hit you! 🔥 Think of it like a hotel front desk that ignores the "Do Not Disturb" sign — the concierge can knock and enter the room whenever, without respecting your privacy. In this case, the terminal setting is meant to keep attacks at bay, but it’s casually disregarded, opening the door for potential exploits. This oversight could lead to a nightmare scenario where an attacker executes arbitrary code on your machine, potentially compromising sensitive data or taking control of your system. It's a critical situation that every iTerm2 user must take seriously, as the consequences could be absolutely devastating! ⚡

Put simply

Think of it like a hotel front desk that ignores the "Do Not Disturb" sign — the concierge can knock and enter the room whenever, without respecting your privacy. In this case, the terminal setting is meant to keep attacks at bay, but it’s casually disregarded, opening the door for potential exploits. The vulnerability exists because iTerm2 fails to respect the "Terminal may report window title" setting, allowing remote code execution under certain conditions. While it's not trivially exploitable, the potential risks are significant.

What to do

This oversight could lead to a nightmare scenario where an attacker executes arbitrary code on your machine, potentially compromising sensitive data or taking control of your system. It's a critical situation that every iTerm2 user must take seriously, as the consequences could be absolutely devastating! ⚡ Update iTerm2 to version 3.5.2 or later immediately to patch this vulnerability. Additionally, assess your current configurations to ensure no unintended permissions are granted. Regularly review releases for security updates to stay protected! 🛡️ You've got this! Stay vigilant and update your software to keep your digital world safe! 💪✨

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.01484 · 73.8th percentile
Published
2024-06-16T00:00Z
EPSS history
Timeline
  • 16 JUN 00:00Z
    In iTerm2 before 3.5.2, the "Terminal may report window title" setting is not honored, and thus remote code execution might occur but "is not trivially…
    cvelistv5