{"id":"CVE-2024-38396","sourceIdentifier":"cve@mitre.org","published":"2024-06-16T21:15:50.730","lastModified":"2026-06-17T07:40:03.780","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"An issue was discovered in iTerm2 3.5.x before 3.5.2. Unfiltered use of an escape sequence to report a window title, in combination with the built-in tmux integration feature (enabled by default), allows an attacker to inject arbitrary code into the terminal, a different vulnerability than CVE-2024-38395."},{"lang":"es","value":"Se descubrió un problema en iTerm2 3.5.x anterior a 3.5.2. El uso sin filtrar de una secuencia de escape para informar el título de una ventana, en combinación con la función de integración tmux incorporada (habilitada de forma predeterminada), permite a un atacante inyectar código arbitrario en la terminal, una vulnerabilidad diferente a CVE-2024-38395."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"gnachman","product":"iterm2","defaultStatus":"unknown","cpes":["cpe:2.3:a:gnachman:iterm2:*:*:*:*:*:*:*:*"],"versions":[{"version":"3.5.0","lessThan":"3.5.2","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-06-17T13:41:44.316151Z","id":"CVE-2024-38396","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:iterm2:iterm2:*:*:*:*:*:*:*:*","versionStartIncluding":"3.5.0","versionEndExcluding":"3.5.2","matchCriteriaId":"53E02516-12F6-4237-819A-08BD2E17DC23"}]}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2024/06/17/1","source":"cve@mitre.org","tags":["Mailing List"]},{"url":"https://gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://iterm2.com/downloads.html","source":"cve@mitre.org","tags":["Product"]},{"url":"https://vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-tmux-integration.html","source":"cve@mitre.org","tags":["Exploit"]},{"url":"http://www.openwall.com/lists/oss-security/2024/06/17/1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"]},{"url":"https://gitlab.com/gnachman/iterm2/-/commit/fc60236a914d63fb70a5c632e211203a4f1bd4dd","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://iterm2.com/downloads.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Product"]},{"url":"https://vin01.github.io/piptagole/escape-sequences/iterm2/rce/2024/06/16/iterm2-rce-window-title-tmux-integration.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"]}]}