BreachSpiderVerified, not vibes

CVE-2017-15042 in Golang Go

Medium 5.9 Fix available

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 2...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.05.9
EPSS1.3%
EPSS percentile70th
FixAvailable

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Golang Go 1.9 ≤ 1.8.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-15042
BreachSpider IDBS-2017-GLOBAL-116329-M
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published2017-10-05
Last modified2026-05-13
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-319: CWE-319

Related attack patterns (CAPEC)

CAPEC-65 Sniff Application Code via CWE-319

CAPEC-102 Session Sidejacking via CWE-319

CAPEC-383 Harvesting Information via API Event Monitoring via CWE-319

CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-319

CAPEC-117 Interception via CWE-319

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Golang systems (CVE-2017-15042). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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 ad CVSS vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Questions

What is CVE-2017-15042?

This vulnerability was disclosed in 2017. A medium severity vulnerability affects Golang systems (CVE-2017-15042). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2017-15042?

CVE-2017-15042 has CVSS 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N. EPSS: 1.3%.

Is CVE-2017-15042 actively exploited?

No confirmed active exploitation of CVE-2017-15042 as of 2026-05-30.

How do I remediate CVE-2017-15042?

Priority: MONITOR. Advisory: https://golang.org/cl/68023 PSIRT: [email protected]

What systems are affected by CVE-2017-15042?

CVE-2017-15042 affects Golang Go.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Golang","product":"Go","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-13.