CVE-2018-16875
golang: crypto/x509 allows for denial of service via crafted TLS client certificate
Overview
Description
The crypto/x509 package of Go before 1.10.6 and 1.11.x before 1.11.3 does not limit the amount of work performed for each chain verification, which might allow attackers to craft pathological inputs leading to a CPU denial of service. Go TLS servers accepting client certificates and TLS clients are affected.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-20, CWE-295
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Go | stdlib | <1.10.6>=1.11.0-0, <1.11.3 | 1.10.61.11.3 |
Open a package to see all its vulnerabilities.
Operating systems · 24 fixes
Red Hat 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | atomic-openshift +18 | affected |
| 7 | atomic-openshift +15 | eol |
| 7 | golang +5 | wont fix |
SUSE Linux Enterprise 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | docker-stable +1 | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| 15.4 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.5 | docker-stable +1 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.6 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| 15.7 | docker-stable +2 | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | golang-1-7 +1 | affected |
openSUSE 1 release · 14 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | flannel +1 | 0.14.0-1.2 | openSUSE-SU-2024:10761-1 |
| Tumbleweed | docker-stable-buildx | 0.25.0-15.1 | openSUSE-SU-2025:15589-1 |
| Tumbleweed | helm-mirror | 0.3.1-1.9 | openSUSE-SU-2024:10842-1 |
| Tumbleweed | runc | 1.0.2-1.2 | openSUSE-SU-2024:11358-1 |
| Tumbleweed | go1-10 +2 | 1.10.8-8.2 | openSUSE-SU-2024:10803-1 |
| Tumbleweed | go1-11 +2 | 1.11.13-10.5 | openSUSE-SU-2024:10804-1 |
8 more rows
ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | golang-1-10 | affected |
References
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html
- www.securityfocus.com http://www.securityfocus.com/bid/106230
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-16875
- apisecurity.io https://apisecurity.io/mutual-tls-authentication-vulnerability-in-go-cve-2018-16875/
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16875
- go.dev https://go.dev/cl/154105
Show all 19 references
- go.dev https://go.dev/issue/29233
- go.googlesource.com https://go.googlesource.com/go/+/770130659b6fb2acf271476579a3644e093dda7f
- groups.google.com https://groups.google.com/forum/?pli=1#!topic/golang-announce/Kw31K8G7Fi0
- groups.google.com https://groups.google.com/forum/?pli=1#%21topic/golang-announce/Kw31K8G7Fi0
- groups.google.com https://groups.google.com/g/golang-announce/c/Kw31K8G7Fi0
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-16875
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0191
- security.gentoo.org https://security.gentoo.org/glsa/201812-09
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-16875
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.