7.5high
CVE-2018-17142
golang.org/x/net/html NULL Pointer Dereference vulnerability
Also known as GHSA-2wp2-chmh-r934, GO-2022-0192
Published 8 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
2.4%
percentile 84%
Public exploits
0
none known
Summary
The html package (aka x/net/html) through 2018-09-17 in Go mishandles <math><template><mo><template>, leading to a "panic: runtime error" in parseCurrentToken in parse.go during an html.Parse call.
Exploit prediction (EPSS)
2.38% probability of exploitation in the next 30 days, higher than 84% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | golang.org/x/net | <0.0.0-20180925071336-cf3bd585ca2a | 0.0.0-20180925071336-cf3bd585ca2a |
Classification
- Weakness
- CWE-476 NULL Pointer Dereference
References
- github.com /golang/go/issues/27702 · x_refsource_MISC, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMV · vendor-advisory, x_refsource_FEDORA, x_transferred
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRA · vendor-advisory, x_refsource_FEDORA, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2018-17142 · advisory
- github.com /golang/go · package
- go.dev /cl/136875 · web
- go.dev /issue/27702 · web
- go.googlesource.com /net/+/cf3bd585ca2a5a21b057abd8be7eea2204af89d0 · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/LREEWY6KNLHRWFZ7OT4HVLMVVC · web
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/UKRCI7WIOCOCD3H7NXWRGIRABT · web
- pkg.go.dev /vuln/GO-2022-0192 · web
Sources
- CVE List: CVE-2018-17142
- GitHub Advisory: GHSA-2wp2-chmh-r934
- NVD: CVE-2018-17142
- OSV: GO-2022-0192
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.