Skip to main content
← All vulnerabilities
CVE-2017-15042GO-2021-0178

An unintended cleartext issue exists in Go before 1.8.4 and 1.9.x before 1.9.1.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.4, 1.9.1
None on Exploit-DB, Metasploit or GitHub

Summary

An unintended cleartext issue exists in Go before 1.8.4 and 1.9.x before 1.9.1. RFC 4954 requires that, during SMTP, the PLAIN auth scheme must only be used on network connections secured with TLS. The original implementation of smtp.PlainAuth in Go 1.0 enforced this requirement, and it was documented to do so. In 2013, upstream issue #5184, this was changed so that the server may decide whether PLAIN is acceptable. The result is that if you set up a man-in-the-middle SMTP server that doesn't advertise STARTTLS and does advertise that PLAIN auth is OK, the smtp.PlainAuth implementation sends the username and password.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • stdlibGo

    From 1.1.0-0 · fixed in 1.8.4; From 1.9.0-0 · fixed in 1.9.1

References 8

access.redhat.com

securityfocus.com

golang.org

GitHub · golang/go

security.gentoo.org

groups.google.com