CVE-2017-15042
Reported by mitre · Published October 5, 2017
stdlib is fixed in 1.9.1 and 1.8.4 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stdlib | Go Modules | 1.9.1, 1.8.4 |
| golang-tests | Amazon Linux | 1.9.4-1.amzn2 |
| golang-misc | Amazon Linux | 1.9.4-1.amzn2 |
| golang | Amazon Linux | 1.9.4-1.amzn2 |
| golang-bin | Amazon Linux | 1.9.4-1.amzn2 |
| golang-src | Amazon Linux | 1.9.4-1.amzn2 |
| golang-docs | Amazon Linux | 1.9.4-1.amzn2 |
| go | golang | 1.8.3 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2 | golang-tests | 0 |
| amazon:2 | golang-misc | 0 |
| amazon:2 | golang | 0 |
| amazon:2 | golang-bin | 0 |
| amazon:2 | golang-src | 0 |
| amazon:2 | golang-docs | 0 |
| Go | stdlib | |
| n/a | n/a | * |
Timeline
- Oct 5, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (4 in total, the first dated here)
- Aug 9, 2026 Distribution Patch (2 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-15042
vulnetix vdb fixes CVE-2017-15042
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-15042/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:3463 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:0878 vendor-advisoryx_refsource_REDHAT
- 101197 vdb-entryx_refsource_BID
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- GLSA-201710-23 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM