cve.bz

CVE-2017-15042 golang go

5.9 mediumEPSS 1.3%Fix available

Medium (5.9) in golang go. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in stdlib 1.8.4, 1.9.1.

On this page
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.

Severity

CVSS 3.0

5.9 medium
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-319 Cleartext Transmission of Sensitive Information
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-15042 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-15042?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-15042?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-15042 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
golang:gothrough 1.8.3
golang:go1.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0178Gostdlib>=1.1.0-0 <1.8.4
>=1.9.0-0 <1.9.1
1.8.4, 1.9.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgolang-1.6no fix listedUBUNTU-CVE-2017-15042
Ubuntu18.04:LTSgolang-1.8no fix listedUBUNTU-CVE-2017-15042
Red Hatdevtools:2::el7go-toolset-7, go-toolset-7-build, go-toolset-7-runtime and 2 more0:1.8-10.el7RHSA-2017:3463
Red Hatdevtools:2::el7go-toolset-7-golang, go-toolset-7-golang-bin, go-toolset-7-golang-src and 4 more0:1.8.5-1.el7RHSA-2017:3463
Red Hatenterprise_linux:7::servergolang, golang-bin, golang-src and 3 more0:1.9.4-1.el7RHSA-2018:0878
openSUSETumbleweedgo1.17-1.1openSUSE-SU-2024:10802-1
openSUSETumbleweedgo1.101.10.8-8.2openSUSE-SU-2024:10803-1
openSUSETumbleweedgo1.111.11.13-10.5openSUSE-SU-2024:10804-1
openSUSETumbleweedgo1.121.12.17-4.8openSUSE-SU-2024:10805-1
openSUSETumbleweedgo1.41.4.3-12.2openSUSE-SU-2024:10811-1
openSUSETumbleweedgo1.91.9.7-11.2openSUSE-SU-2024:10812-1
Azure Linux3golangno fix listedAZL-79072 AZL-98781

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Developer Toolsgo-toolset-7-0:1.8-10.el7Fixed 2017-12-14RHSA-2017:3463
Red Hat Developer Toolsgo-toolset-7-golang-0:1.8.5-1.el7Fixed 2017-12-14RHSA-2017:3463
Red Hat Enterprise Linux 7golang-0:1.9.4-1.el7Fixed 2018-04-10RHSA-2018:0878
Red Hat OpenShift Enterprise 3golangAffected
Red Hat OpenStack Platform 8 (Liberty) Operational ToolsgolangWill not fix
Red Hat OpenStack Platform 9 (Mitaka) Operational ToolsgolangWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-15042.

Attack patterns (CAPEC)

  • CAPEC-65 Sniff Application Code Likelihood: Low · Severity: High
  • CAPEC-102 Session Sidejacking Likelihood: High · Severity: High
  • CAPEC-117 Interception Likelihood: Low · Severity: Medium
  • CAPEC-383 Harvesting Information via API Event Monitoring Severity: Low
  • CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON