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.
github.com/gnachman/iTerm2/commit/33ccaf61e34ef32ffc9d6b2be5dd218f6bb55f51
github.com/gnachman/iTerm2/commit/e4eb1063529deb575b75b396138d41554428d522
gitlab.com/gnachman/iterm2/issues/3688
gitlab.com/gnachman/iterm2/issues/5303
gitlab.com/gnachman/iterm2/issues/6050
gitlab.com/gnachman/iterm2/issues/6068
gitlab.com/gnachman/iterm2/wikis/dnslookupissue
news.ycombinator.com/item?id=15286956