CWE
319
Advisory Published
CVE Published
Updated

CVE-2017-15042

First published: Thu Oct 05 2017(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/golang<1.8.4
1.8.4
redhat/golang<1.9.1
1.9.1
Golang<=1.8.3
Golang=1.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-15042?

    CVE-2017-15042 has a medium severity rating due to potential exposure of plaintext credentials.

  • How do I fix CVE-2017-15042?

    To fix CVE-2017-15042, upgrade to Go version 1.8.4 or 1.9.1 or later.

  • Which versions of Go are affected by CVE-2017-15042?

    CVE-2017-15042 affects Go versions prior to 1.8.4 and 1.9.x prior to 1.9.1.

  • What is the impact of CVE-2017-15042?

    The impact of CVE-2017-15042 is that it allows sensitive user credentials to be transmitted in cleartext over SMTP connections.

  • What is the nature of the vulnerability in CVE-2017-15042?

    CVE-2017-15042 is a cleartext credential exposure vulnerability that violates RFC 4954 requirements for SMTP PLAIN authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203