VDB

CVE-2017-15042

CVE-2017-15042 PUBLISHED

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.

PackageEcosystemFixed in
stdlibGo Modules1.9.1, 1.8.4
golang-testsAmazon Linux1.9.4-1.amzn2
golang-miscAmazon Linux1.9.4-1.amzn2
golangAmazon Linux1.9.4-1.amzn2
golang-binAmazon Linux1.9.4-1.amzn2
golang-srcAmazon Linux1.9.4-1.amzn2
golang-docsAmazon Linux1.9.4-1.amzn2
gogolang1.8.3

Affected products

VendorProductVersions
n/an/an/a
amazon:2golang-tests0
amazon:2golang-misc0
amazon:2golang0
amazon:2golang-bin0
amazon:2golang-src0
amazon:2golang-docs0
Gostdlib
n/an/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
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›