SecurityContext

CVE-2023-46321: iTerm2 - Command Injection

  • Cve: CVE-2023-46321
  • Name: iTerm2 - Command Injection
  • Description: iTermSessionLauncher.m in iTerm2 before 3.5.0beta12 does not sanitize paths in x-man-page URLs. They may have shell metacharacters for a /usr/bin/man command line.
  • Impact: Attackers can execute arbitrary commands via crafted URLs, leading to remote code execution or system compromise.
  • Remediation: Update to iTerm2 version 3.5.0beta12 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Victim must open a malicious URL
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00817
  • Epss percentile: 0.58062
  • Assignee: [email protected]
  • Published at: 2023-10-23T00:15:08Z
  • Age in days: 1128
  • Modified at: 2026-06-17T06:30:39Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-46321
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-noinfo—
CWE-117Improper Output Neutralization for Logs

References

UrlSourceTags
https://iterm2.com/downloads.htmlnvdVendor Advisory
https://gitlab.com/gnachman/iterm2/-/commit/de3d351e1bd3bc1c1a4f85fe976c592e497dd071nvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
iterm2:iterm2= 3.5.0 beta10, = 3.5.0 beta9, = 3.5.0 beta8, = 3.5.0 beta7, = 3.5.0 beta6, = 3.5.0 beta5, = 3.5.0 beta4, = 3.5.0 beta1, = 3.5.0 beta2, = 3.5.0 beta3, <= 3.4.21nonvd/v1/products/iterm2/iterm2

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts