CVE-2017-15042
publishedgolang: smtp.PlainAuth susceptible to man-in-the-middle password harvesting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1011 | Fixed | Not stated | Amazon Linux assessment |
| Red Hat Enterprise Linux | RHEL-7 | golangaarch64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| Amazon Linux | AL2 | golangnoarch | Listed in advisory | Not stated | ALAS2-2018-1011 |
| Red Hat Enterprise Linux | RHEL-7 | golangppc64le | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golangs390x | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golangsrc | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
Show 82 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | golangx86_64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binaarch64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binppc64le | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-bins390x | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-binx86_64 | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-docsnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-miscnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-srcnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| Red Hat Enterprise Linux | RHEL-7 | golang-testsnoarch | Advisory build | 1.9.4-1.el7 | RHSA-2018:0878 |
| SUSE / openSUSE | openSUSE-Tumbleweed | goppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gos390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gox86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docs390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-docx86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-raceaarch64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-raceppc64le | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-races390x | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go-racex86_64 | Advisory build | 1.17-1.1 | OPENSUSE-SU-2024:10802-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10aarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10ppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10s390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10x86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docaarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docs390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-docx86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-raceaarch64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-raceppc64le | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-races390x | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.10-racex86_64 | Advisory build | 1.10.8-8.2 | OPENSUSE-SU-2024:10803-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11aarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11ppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11s390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11x86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docaarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docs390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-docx86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-raceaarch64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-raceppc64le | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-races390x | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.11-racex86_64 | Advisory build | 1.11.13-10.5 | OPENSUSE-SU-2024:10804-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12aarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12ppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12s390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12x86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docaarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docs390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-docx86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-raceaarch64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-raceppc64le | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-races390x | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.12-racex86_64 | Advisory build | 1.12.17-4.8 | OPENSUSE-SU-2024:10805-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4aarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4ppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4s390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4x86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docaarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docs390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-docx86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-raceaarch64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-raceppc64le | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-races390x | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.4-racex86_64 | Advisory build | 1.4.3-12.2 | OPENSUSE-SU-2024:10811-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9aarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9ppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9s390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9x86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docaarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docs390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-docx86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-raceaarch64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-raceppc64le | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-races390x | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | go1.9-racex86_64 | Advisory build | 1.9.7-11.2 | OPENSUSE-SU-2024:10812-1 |
| Amazon Linux | AL2 | golangsrc | Listed in advisory | Not stated | ALAS2-2018-1011 |
| Amazon Linux | AL2 | golangx86_64 | Listed in advisory | Not stated | ALAS2-2018-1011 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- 101197 http://www.securityfocus.com/bid/101197
- RHSA-2017:3463 https://access.redhat.com/errata/RHSA-2017:3463
- RHSA-2018:0878 https://access.redhat.com/errata/RHSA-2018:0878
- https://github.com/golang/go/issues/22134
- https://golang.org/cl/68023
- https://golang.org/cl/68210
- https://groups.google.com/d/msg/golang-dev/RinSE3EiJBI/kYL7zb07AgAJ
- GLSA-201710-23 https://security.gentoo.org/glsa/201710-23
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a557425dd30680883c5c71994338f5e60f0abf33e7d2c69ac9f5a89cb0d78361
- Ingested
- 23 Sep 2026, 07:42:08 UTC
- Source record
- Official CVE record